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.001121/0.001121, allocations: 109.7 kB / 16.41 MB, free: 6.473 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.001271/0.001272, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.521/1.521, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.231/0.231, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 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.001561/0.001561, allocations: 68.38 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.136, allocations: 57.8 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003251/0.1393, allocations: 1.536 MB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003099/0.1396, allocations: 63.72 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.1397, allocations: 0 / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1399, allocations: 11.88 kB / 0.4895 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.14, allocations: 3.938 kB / 0.4895 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.1401, allocations: 15.98 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1403, allocations: 39.91 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1404, allocations: 12 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.1405, allocations: 15.92 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.1405, allocations: 11.94 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1406, allocations: 0 / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.1406, allocations: 4 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.1406, allocations: 11.91 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.1406, allocations: 15.94 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1408, allocations: 43.78 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1408, allocations: 0 / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1408, allocations: 0 / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1408, allocations: 0 / 0.4896 GB, free: 10.03 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.0004966/0.1413, allocations: 354.8 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1414, allocations: 11.89 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.1414, allocations: 8.844 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1417, allocations: 188.3 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1417, allocations: 4.375 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1418, allocations: 8.375 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.142, allocations: 72.75 kB / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.142, allocations: 192 / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.142, allocations: 3.938 kB / 0.4902 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.142, allocations: 3.938 kB / 0.4902 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1421, allocations: 31.91 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.1427, allocations: 449.2 kB / 0.4907 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.143, allocations: 38.56 kB / 0.4907 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.143, allocations: 24.83 kB / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1431, allocations: 7.984 kB / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1431, allocations: 30.56 kB / 0.4908 GB, free: 8.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1431, allocations: 0 / 0.4908 GB, free: 8.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005062/0.1436, allocations: 105.3 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1437, allocations: 55.41 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.1437, allocations: 113.8 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1438, allocations: 29.7 kB / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.1439, allocations: 92.03 kB / 0.4912 GB, free: 8.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1439, allocations: 15.81 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.1439, allocations: 21.7 kB / 0.4912 GB, free: 8.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.144, allocations: 318.8 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.217e-05/0.1441, allocations: 15.98 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.1442, allocations: 39.42 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1443, allocations: 63.36 kB / 0.4916 GB, free: 7.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1443, allocations: 0 / 0.4916 GB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001603/0.1445, allocations: 77.64 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1445, allocations: 8 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1445, allocations: 0 / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1445, allocations: 3.938 kB / 0.4917 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.1446, allocations: 16 kB / 0.4917 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1446, allocations: 0 / 0.4917 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.1447, allocations: 7.984 kB / 0.4917 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1447, allocations: 4 kB / 0.4917 GB, free: 7.586 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 8.897e-05/0.1448, allocations: 122 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1448, allocations: 11.97 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.1448, allocations: 7.906 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1449, allocations: 3.984 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1449, allocations: 4.375 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1449, allocations: 0 / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.145, allocations: 173.6 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1451, allocations: 0 / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.1451, allocations: 19.86 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1451, allocations: 0 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1452, allocations: 4 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1452, allocations: 7.938 kB / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1452, allocations: 0 / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1454, allocations: 175.4 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.1455, allocations: 85.14 kB / 0.4923 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1455, allocations: 4 kB / 0.4923 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.99e-05/0.1456, allocations: 4 kB / 0.4923 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1456, allocations: 3.984 kB / 0.4923 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1456, allocations: 4.062 kB / 0.4923 GB, free: 6.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.698e-05/0.1457, allocations: 87.28 kB / 0.4924 GB, free: 6.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1457, allocations: 0 / 0.4924 GB, free: 6.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1459, allocations: 8 kB / 0.4924 GB, free: 6.773 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.0001018/0.146, allocations: 103.1 kB / 0.4925 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1462, allocations: 35.98 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1462, allocations: 192 / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.1463, allocations: 23.92 kB / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.1466, allocations: 14.66 kB / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.147, allocations: 162.5 kB / 0.4928 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1473, allocations: 0.6846 MB / 0.4934 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.491e-05/0.1473, allocations: 4 kB / 0.4934 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.1474, allocations: 7.438 kB / 0.4934 GB, free: 5.684 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1474, allocations: 4 kB / 0.4934 GB, free: 5.68 MB / 382.1 MB Notification: Performance of Templates: time 0.002966/0.1503, allocations: 0.5088 MB / 0.4939 GB, free: 5.172 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","/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