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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 101.6 kB / 16.27 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001832, allocations: 192.1 kB / 17.2 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2882/0.2882, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 69.62 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1366, allocations: 57.78 MB / 440.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.004796/0.1415, allocations: 1.55 MB / 442.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.1419, allocations: 63.81 kB / 442.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.142, allocations: 0 / 442.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1422, allocations: 7.922 kB / 442.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.1423, allocations: 7.938 kB / 442.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.1425, allocations: 15.98 kB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1427, allocations: 39.78 kB / 442.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1429, allocations: 20.2 kB / 442.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.1429, allocations: 15.94 kB / 442.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.143, allocations: 15.92 kB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.143, allocations: 0 / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.952e-05/0.1431, allocations: 4 kB / 442.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.1431, allocations: 7.938 kB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.1432, allocations: 11.94 kB / 442.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.1433, allocations: 43.81 kB / 442.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1434, allocations: 3.938 kB / 442.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1434, allocations: 0 / 442.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1434, allocations: 0 / 442.3 MB, free: 5.125 MB / 318.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.0005651/0.144, allocations: 351.4 kB / 442.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.144, allocations: 11.89 kB / 442.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.1441, allocations: 8.844 kB / 442.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1443, allocations: 180.2 kB / 442.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1444, allocations: 4.375 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1444, allocations: 384 / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.1446, allocations: 72.81 kB / 442.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1447, allocations: 4.188 kB / 442.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1447, allocations: 3.938 kB / 442.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1447, allocations: 0 / 442.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1449, allocations: 31.92 kB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.1454, allocations: 451.4 kB / 443.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1457, allocations: 42.5 kB / 443.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.1457, allocations: 16.94 kB / 443.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1458, allocations: 0 / 443.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1458, allocations: 34.56 kB / 443.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.1458, allocations: 0 / 443.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006254/0.1464, allocations: 109.7 kB / 443.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1465, allocations: 51.41 kB / 443.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.1466, allocations: 121.8 kB / 443.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1466, allocations: 29.7 kB / 443.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.1467, allocations: 88.05 kB / 443.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1467, allocations: 15.81 kB / 443.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.1468, allocations: 25.7 kB / 443.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.1468, allocations: 314.8 kB / 444.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.1469, allocations: 23.92 kB / 444.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.147, allocations: 39.36 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1472, allocations: 59.42 kB / 444.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1472, allocations: 0 / 444.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002376/0.1475, allocations: 85.92 kB / 444.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1475, allocations: 8 kB / 444.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1475, allocations: 0 / 444.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1475, allocations: 0 / 444.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.1476, allocations: 20.02 kB / 444.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1477, allocations: 4 kB / 444.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.1477, allocations: 4 kB / 444.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1478, allocations: 0 / 444.5 MB, free: 2.695 MB / 318.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 7.931e-05/0.1479, allocations: 125.7 kB / 444.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.1479, allocations: 7.906 kB / 444.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.148, allocations: 7.906 kB / 444.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.148, allocations: 3.984 kB / 444.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.148, allocations: 4 kB / 444.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.148, allocations: 4 kB / 444.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.1482, allocations: 173.6 kB / 444.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1482, allocations: 0 / 444.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1484, allocations: 8 kB / 444.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1484, allocations: 0 / 444.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1484, allocations: 0 / 444.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1484, allocations: 0 / 444.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1484, allocations: 0 / 444.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.1487, allocations: 191.3 kB / 445 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.1488, allocations: 81.14 kB / 445.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1488, allocations: 0 / 445.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1489, allocations: 0 / 445.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.149, allocations: 7.984 kB / 445.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.149, allocations: 0 / 445.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.373e-05/0.1491, allocations: 91.27 kB / 445.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1491, allocations: 0 / 445.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.1495, allocations: 4 kB / 445.2 MB, free: 1.902 MB / 318.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.872e-05/0.1496, allocations: 107.2 kB / 445.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1499, allocations: 35.92 kB / 445.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.1499, allocations: 7.938 kB / 445.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.15, allocations: 15.98 kB / 445.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.1506, allocations: 13.52 kB / 445.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.1513, allocations: 159.3 kB / 445.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.1514, allocations: 0.6884 MB / 446.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.1515, allocations: 3.984 kB / 446.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.1516, allocations: 11.44 kB / 446.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1516, allocations: 0 / 446.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of Templates: time 0.0044/0.156, allocations: 0.5058 MB / 446.7 MB, free: 304 kB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches