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.001241/0.001242, allocations: 98.86 kB / 15.98 MB, free: 6.355 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.001657/0.001657, allocations: 199.8 kB / 16.91 MB, free: 6.195 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.513/1.513, allocations: 205.1 MB / 222.8 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3877/0.3877, allocations: 43.5 MB / 313.6 MB, free: 8.535 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.001459/0.001459, allocations: 59.91 kB / 382.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002638/0.1456, allocations: 1.616 MB / 441.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000205/0.1458, allocations: 55.64 kB / 441.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.1459, allocations: 0 / 441.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.146, allocations: 7.922 kB / 441.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.1461, allocations: 4 kB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.1462, allocations: 19.98 kB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.1463, allocations: 43.84 kB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.1464, allocations: 12 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.1464, allocations: 15.92 kB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.1465, allocations: 11.94 kB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1465, allocations: 0 / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.1465, allocations: 4 kB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1465, allocations: 11.92 kB / 441.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.1466, allocations: 19.88 kB / 441.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.853e-05/0.1466, allocations: 32.11 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1466, allocations: 0 / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1467, allocations: 4 kB / 441.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1467, allocations: 0 / 441.8 MB, free: 12.88 MB / 382.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.0003984/0.1471, allocations: 351.4 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1471, allocations: 11.89 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.1471, allocations: 4.938 kB / 442.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1473, allocations: 188.2 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1473, allocations: 8.359 kB / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1473, allocations: 384 / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1475, allocations: 64.83 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1475, allocations: 4.188 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.1475, allocations: 3.938 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1475, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.1476, allocations: 27.92 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.1481, allocations: 453.1 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1482, allocations: 50.5 kB / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.1483, allocations: 12.86 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1483, allocations: 0 / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.1483, allocations: 34.56 kB / 443 MB, free: 11.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1483, allocations: 4 kB / 443 MB, free: 11.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004316/0.1487, allocations: 105.5 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1488, allocations: 59.34 kB / 443.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.1489, allocations: 117.8 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.1489, allocations: 25.7 kB / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.1489, allocations: 99.97 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.149, allocations: 11.81 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.149, allocations: 17.72 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.1491, allocations: 322.8 kB / 443.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.1491, allocations: 12 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.1492, allocations: 43.42 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.1493, allocations: 63.34 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1493, allocations: 0 / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001388/0.1495, allocations: 81.89 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1495, allocations: 7.984 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1495, allocations: 4 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1495, allocations: 0 / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.1496, allocations: 8.047 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1496, allocations: 4 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.1496, allocations: 7.984 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1496, allocations: 11.98 kB / 444 MB, free: 10.44 MB / 382.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.158e-05/0.1497, allocations: 125.8 kB / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.1498, allocations: 3.906 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.1498, allocations: 7.906 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1498, allocations: 0 / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1498, allocations: 0 / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1498, allocations: 0 / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.15, allocations: 173.6 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.15, allocations: 0 / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.1501, allocations: 15.98 kB / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1501, allocations: 0 / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1501, allocations: 4 kB / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1501, allocations: 0 / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1501, allocations: 0 / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1503, allocations: 175.5 kB / 444.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.1504, allocations: 81.02 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1504, allocations: 7.969 kB / 444.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.1504, allocations: 4 kB / 444.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1505, allocations: 8 kB / 444.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1505, allocations: 4 kB / 444.6 MB, free: 9.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.191e-05/0.1505, allocations: 95.58 kB / 444.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1505, allocations: 0 / 444.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.1508, allocations: 4 kB / 444.7 MB, free: 9.652 MB / 382.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 0.0001067/0.1509, allocations: 103.1 kB / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.151, allocations: 48.03 kB / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.151, allocations: 0 / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.599e-05/0.1511, allocations: 19.98 kB / 444.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1514, allocations: 8 kB / 444.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.1518, allocations: 178.7 kB / 445.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.152, allocations: 0.6924 MB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.812e-05/0.152, allocations: 4 kB / 445.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.1521, allocations: 11.44 kB / 445.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1521, allocations: 0 / 445.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of Templates: time 0.002346/0.1544, allocations: 489.2 kB / 446.3 MB, free: 8.059 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches