Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006054/0.006054, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8729/0.8729, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 32.78 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.608e-05, allocations: 10.28 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001984/0.00201, allocations: 1.551 MB / 442.4 MB, free: 2.191 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.002242, allocations: 75.66 kB / 442.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.002306, allocations: 0 / 442.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.929e-05/0.002405, allocations: 7.938 kB / 442.5 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.002432, allocations: 3.938 kB / 442.5 MB, free: 2.105 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.002556, allocations: 15.98 kB / 442.5 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.002658, allocations: 39.84 kB / 442.5 MB, free: 2.051 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.002761, allocations: 11.98 kB / 442.5 MB, free: 2.039 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.002801, allocations: 15.98 kB / 442.6 MB, free: 2.023 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.002848, allocations: 7.922 kB / 442.6 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.002869, allocations: 4 kB / 442.6 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.002883, allocations: 4 kB / 442.6 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.002899, allocations: 4 kB / 442.6 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.00292, allocations: 19.92 kB / 442.6 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.003023, allocations: 39.81 kB / 442.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003026, allocations: 0 / 442.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.003027, allocations: 0 / 442.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003031, allocations: 4 kB / 442.6 MB, free: 1.941 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006475/0.003679, allocations: 274.2 kB / 442.9 MB, free: 1.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.003715, allocations: 8.031 kB / 442.9 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.003748, allocations: 8.891 kB / 442.9 MB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.003931, allocations: 121.7 kB / 443 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.003941, allocations: 4.375 kB / 443 MB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.003963, allocations: 8.375 kB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.004097, allocations: 64.81 kB / 443.1 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.004106, allocations: 8.109 kB / 443.1 MB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004117, allocations: 12.31 kB / 443.1 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004122, allocations: 384 / 443.1 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.004181, allocations: 23.92 kB / 443.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.004516, allocations: 388.9 kB / 443.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.004645, allocations: 46.56 kB / 443.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.004674, allocations: 16.94 kB / 443.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.00469, allocations: 0 / 443.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.004705, allocations: 34.5 kB / 443.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.004706, allocations: 0 / 443.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003422/0.005048, allocations: 113.5 kB / 443.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.005077, allocations: 51.41 kB / 443.8 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.005136, allocations: 109.8 kB / 443.9 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005148, allocations: 37.7 kB / 443.9 MB, free: 484 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.005192, allocations: 95.97 kB / 444 MB, free: 384 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.005205, allocations: 19.88 kB / 444.1 MB, free: 364 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.005232, allocations: 17.72 kB / 444.1 MB, free: 340 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.005304, allocations: 318.8 kB / 444.4 MB, free: 12 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1969/0.2022, allocations: 12.75 kB / 444.4 MB, free: 46.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.2023, allocations: 37.19 kB / 444.4 MB, free: 46.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.2023, allocations: 62.66 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2023, allocations: 0 / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001206/0.2025, allocations: 87.41 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2025, allocations: 10.38 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2025, allocations: 3.047 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2025, allocations: 0 / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.2026, allocations: 16.17 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2026, allocations: 2.969 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.2026, allocations: 4.516 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2026, allocations: 3 kB / 444.6 MB, free: 46.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.2027, allocations: 121.4 kB / 444.7 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.2027, allocations: 4.312 kB / 444.7 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.2027, allocations: 9.188 kB / 444.7 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2027, allocations: 3.469 kB / 444.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2027, allocations: 0.7188 kB / 444.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2027, allocations: 2.906 kB / 444.8 MB, free: 46.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2028, allocations: 119.7 kB / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2028, allocations: 0 / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.2029, allocations: 16.08 kB / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2029, allocations: 0 / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2029, allocations: 2.812 kB / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2029, allocations: 0 / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2029, allocations: 0 / 444.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.2031, allocations: 185.7 kB / 445.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.2031, allocations: 6.359 kB / 445.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2031, allocations: 7.094 kB / 445.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.2031, allocations: 5.969 kB / 445.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.2032, allocations: 1.062 kB / 445.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.2032, allocations: 2.875 kB / 445.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.724e-05/0.2032, allocations: 87.62 kB / 445.2 MB, free: 45.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2032, allocations: 2.969 kB / 445.2 MB, free: 45.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000147/0.2033, allocations: 9.312 kB / 445.2 MB, free: 45.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.888e-05/0.2034, allocations: 90.44 kB / 445.3 MB, free: 45.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.2035, allocations: 38.81 kB / 445.3 MB, free: 45.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2035, allocations: 3.5 kB / 445.3 MB, free: 45.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.2036, allocations: 16.73 kB / 445.3 MB, free: 45.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2038, allocations: 15.11 kB / 445.4 MB, free: 45.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.2041, allocations: 168.3 kB / 445.5 MB, free: 45.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.2041, allocations: 71.27 kB / 445.6 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.2041, allocations: 11.25 kB / 445.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2041, allocations: 3.969 kB / 445.6 MB, free: 45.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001704/0.2059, allocations: 0.7822 MB / 446.4 MB, free: 45.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.824071357958019]