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.001302/0.001302, allocations: 110.5 kB / 17.04 MB, free: 5.812 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.001318/0.001318, allocations: 196 kB / 17.98 MB, free: 5.027 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.673/1.673, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2527/0.2527, allocations: 43.51 MB / 314.7 MB, free: 484 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.001833/0.001833, allocations: 72.8 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1342, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003456/0.1377, allocations: 1.54 MB / 443.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002742/0.138, allocations: 63.78 kB / 443.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.1381, allocations: 4 kB / 443.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1383, allocations: 3.938 kB / 443.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.502e-05/0.1383, allocations: 3.938 kB / 443.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.1385, allocations: 19.97 kB / 443.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1386, allocations: 39.86 kB / 443.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1387, allocations: 11.94 kB / 443.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.1388, allocations: 15.92 kB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.1388, allocations: 15.92 kB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1389, allocations: 7.984 kB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.1389, allocations: 0 / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.1389, allocations: 11.94 kB / 443.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.1389, allocations: 15.88 kB / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.139, allocations: 35.89 kB / 443.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1391, allocations: 0 / 443.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1391, allocations: 0 / 443.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1391, allocations: 0 / 443.8 MB, free: 4.363 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.0003814/0.1395, allocations: 343.4 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1395, allocations: 15.89 kB / 444.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1396, allocations: 12.83 kB / 444.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1398, allocations: 184.2 kB / 444.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1398, allocations: 384 / 444.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1398, allocations: 8.375 kB / 444.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.14, allocations: 71.11 kB / 444.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.14, allocations: 4.188 kB / 444.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.14, allocations: 11.88 kB / 444.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.14, allocations: 0 / 444.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.1401, allocations: 27.86 kB / 444.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.1406, allocations: 445.2 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1407, allocations: 42.5 kB / 444.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.1408, allocations: 20.94 kB / 444.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1408, allocations: 0 / 444.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.1408, allocations: 30.56 kB / 444.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1408, allocations: 4 kB / 444.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004834/0.1413, allocations: 105.7 kB / 445.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.1414, allocations: 55.41 kB / 445.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.1414, allocations: 117.8 kB / 445.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1415, allocations: 25.7 kB / 445.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.1415, allocations: 92.05 kB / 445.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.1415, allocations: 11.81 kB / 445.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1416, allocations: 29.7 kB / 445.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.1417, allocations: 318.8 kB / 445.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.1417, allocations: 11.98 kB / 445.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.1418, allocations: 47.36 kB / 445.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.1419, allocations: 59.45 kB / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1419, allocations: 0 / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001278/0.142, allocations: 85.55 kB / 445.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.142, allocations: 5.25 kB / 445.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.142, allocations: 4 kB / 445.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1421, allocations: 96 / 445.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.1421, allocations: 15.98 kB / 445.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1421, allocations: 4.156 kB / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.1422, allocations: 0 / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1422, allocations: 7.984 kB / 445.9 MB, free: 1.93 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.665e-05/0.1423, allocations: 126.8 kB / 446 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1423, allocations: 3.906 kB / 446 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.1424, allocations: 11.91 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1424, allocations: 3.984 kB / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1424, allocations: 4 kB / 446.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1424, allocations: 384 / 446.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1425, allocations: 177.5 kB / 446.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1425, allocations: 8 kB / 446.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.1426, allocations: 8 kB / 446.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1426, allocations: 3.938 kB / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1426, allocations: 0 / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1426, allocations: 0 / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1427, allocations: 0 / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1428, allocations: 191.3 kB / 446.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.1429, allocations: 77.11 kB / 446.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1429, allocations: 4.031 kB / 446.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.143, allocations: 0 / 446.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.143, allocations: 3.984 kB / 446.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.143, allocations: 4 kB / 446.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.183e-05/0.1431, allocations: 91.27 kB / 446.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1431, allocations: 0 / 446.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1433, allocations: 12.06 kB / 446.6 MB, free: 1.117 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 8.71e-05/0.1434, allocations: 99.12 kB / 446.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1436, allocations: 39.92 kB / 446.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1436, allocations: 0 / 446.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.1436, allocations: 15.98 kB / 446.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.1439, allocations: 15.92 kB / 446.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.1443, allocations: 159.1 kB / 447 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.1445, allocations: 0.6857 MB / 447.6 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.635e-05/0.1445, allocations: 7.984 kB / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.1446, allocations: 11.44 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1446, allocations: 0 / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of Templates: time 0.002935/0.1475, allocations: 0.4972 MB / 448.2 MB, free: 15.53 MB / 334.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 -s cvode -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/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) Reference file matches