Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001665/0.001665, allocations: 75.75 kB / 20.51 MB, free: 1.27 MB / 14.72 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.001564/0.001564, allocations: 166.6 kB / 23.76 MB, free: 4.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 158.6 MB / 185.5 MB, free: 6.195 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.204/0.204, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 67.91 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1189, allocations: 61.05 MB / 468.8 MB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002888/0.1218, allocations: 1.539 MB / 470.3 MB, free: 6.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.122, allocations: 55.83 kB / 470.4 MB, free: 6.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.1221, allocations: 3.938 kB / 470.4 MB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1222, allocations: 11.92 kB / 470.4 MB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.1222, allocations: 11.86 kB / 470.4 MB, free: 6.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.1223, allocations: 15.98 kB / 470.4 MB, free: 6.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1224, allocations: 39.86 kB / 470.5 MB, free: 6.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.1225, allocations: 11.97 kB / 470.5 MB, free: 6.629 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.1226, allocations: 11.94 kB / 470.5 MB, free: 6.617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.1226, allocations: 15.92 kB / 470.5 MB, free: 6.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1226, allocations: 4 kB / 470.5 MB, free: 6.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.1226, allocations: 4 kB / 470.5 MB, free: 6.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.1227, allocations: 4 kB / 470.5 MB, free: 6.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.1227, allocations: 15.86 kB / 470.5 MB, free: 6.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1228, allocations: 39.83 kB / 470.6 MB, free: 6.535 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1228, allocations: 3.938 kB / 470.6 MB, free: 6.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1228, allocations: 0 / 470.6 MB, free: 6.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1228, allocations: 0 / 470.6 MB, free: 6.531 MB / 446.1 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.000407/0.1232, allocations: 270.3 kB / 470.8 MB, free: 6.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1233, allocations: 12.03 kB / 470.8 MB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.1233, allocations: 8.891 kB / 470.9 MB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1235, allocations: 122.5 kB / 471 MB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1235, allocations: 8.375 kB / 471 MB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1235, allocations: 384 / 471 MB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1237, allocations: 80.75 kB / 471.1 MB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1237, allocations: 192 / 471.1 MB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1237, allocations: 11.86 kB / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1237, allocations: 0 / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1238, allocations: 27.98 kB / 471.1 MB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.1243, allocations: 392.8 kB / 471.5 MB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1245, allocations: 42.5 kB / 471.5 MB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.1245, allocations: 12.86 kB / 471.5 MB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.1245, allocations: 0 / 471.5 MB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1246, allocations: 38.5 kB / 471.6 MB, free: 5.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1246, allocations: 0 / 471.6 MB, free: 5.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004716/0.125, allocations: 101.7 kB / 471.7 MB, free: 5.289 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1251, allocations: 55.41 kB / 471.7 MB, free: 5.223 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1252, allocations: 125.7 kB / 471.9 MB, free: 5.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1252, allocations: 25.7 kB / 471.9 MB, free: 5.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.1253, allocations: 96.08 kB / 472 MB, free: 4.961 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.1253, allocations: 15.84 kB / 472 MB, free: 4.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1253, allocations: 17.72 kB / 472 MB, free: 4.922 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1255, allocations: 326.8 kB / 472.3 MB, free: 4.594 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.1255, allocations: 8 kB / 472.3 MB, free: 4.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.1256, allocations: 51.41 kB / 472.4 MB, free: 4.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1257, allocations: 59.34 kB / 472.4 MB, free: 4.453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1257, allocations: 0 / 472.4 MB, free: 4.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001668/0.1259, allocations: 77.62 kB / 472.5 MB, free: 4.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1259, allocations: 7.984 kB / 472.5 MB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1259, allocations: 4 kB / 472.5 MB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1259, allocations: 4.094 kB / 472.5 MB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.126, allocations: 11.94 kB / 472.5 MB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.126, allocations: 4 kB / 472.5 MB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.126, allocations: 4 kB / 472.5 MB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.1261, allocations: 3.984 kB / 472.6 MB, free: 4.332 MB / 446.1 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 9.392e-05/0.1261, allocations: 118.2 kB / 472.7 MB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1262, allocations: 7.953 kB / 472.7 MB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.1262, allocations: 11.98 kB / 472.7 MB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1262, allocations: 0 / 472.7 MB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1262, allocations: 0 / 472.7 MB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1262, allocations: 4 kB / 472.7 MB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.1264, allocations: 117.2 kB / 472.8 MB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1264, allocations: 4 kB / 472.8 MB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.1265, allocations: 15.98 kB / 472.8 MB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1265, allocations: 0 / 472.8 MB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1265, allocations: 0 / 472.8 MB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1265, allocations: 0 / 472.8 MB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1265, allocations: 3.938 kB / 472.8 MB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1268, allocations: 179.4 kB / 473 MB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.1268, allocations: 4.094 kB / 473 MB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1268, allocations: 8 kB / 473 MB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.1269, allocations: 4 kB / 473 MB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.1269, allocations: 4 kB / 473 MB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1269, allocations: 3.984 kB / 473 MB, free: 3.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.1269, allocations: 91.59 kB / 473.1 MB, free: 3.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1269, allocations: 0 / 473.1 MB, free: 3.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1272, allocations: 8 kB / 473.1 MB, free: 3.703 MB / 446.1 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 9.051e-05/0.1273, allocations: 87.25 kB / 473.2 MB, free: 3.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1274, allocations: 51.91 kB / 473.3 MB, free: 3.555 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1274, allocations: 0 / 473.3 MB, free: 3.555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.1275, allocations: 23.92 kB / 473.3 MB, free: 3.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1278, allocations: 7.938 kB / 473.3 MB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.1282, allocations: 162.6 kB / 473.5 MB, free: 3.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.736e-05/0.1283, allocations: 67.33 kB / 473.5 MB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1283, allocations: 8.188 kB / 473.5 MB, free: 3.246 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.1283, allocations: 16.5 kB / 473.5 MB, free: 3.23 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1283, allocations: 0 / 473.5 MB, free: 3.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003017/0.1314, allocations: 0.5156 MB / 474.1 MB, free: 2.723 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.965329998987727]