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.001295/0.001295, allocations: 112.7 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.001234/0.001234, allocations: 195 kB / 17.97 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.393/1.393, allocations: 205.1 MB / 223.8 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.2081/0.2081, allocations: 43.51 MB / 314.7 MB, free: 496 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.001564/0.001564, allocations: 71.86 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.108, allocations: 57.79 MB / 442 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002647/0.1107, allocations: 1.54 MB / 443.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.111, allocations: 63.78 kB / 443.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.1111, allocations: 3.938 kB / 443.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1112, allocations: 3.938 kB / 443.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.1113, allocations: 7.938 kB / 443.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.1114, allocations: 11.98 kB / 443.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.1115, allocations: 39.91 kB / 443.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1116, allocations: 19.92 kB / 443.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.1117, allocations: 15.94 kB / 443.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.1117, allocations: 15.92 kB / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1117, allocations: 0 / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.1117, allocations: 4 kB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.1118, allocations: 11.86 kB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.1118, allocations: 19.88 kB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1119, allocations: 31.89 kB / 443.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.112, allocations: 0 / 443.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.112, allocations: 4 kB / 443.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.112, allocations: 4 kB / 443.8 MB, free: 4.367 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.0003779/0.1124, allocations: 347.4 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1124, allocations: 11.89 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1124, allocations: 8.844 kB / 444.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1126, allocations: 184.2 kB / 444.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1126, allocations: 4.375 kB / 444.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1127, allocations: 384 / 444.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1128, allocations: 79.06 kB / 444.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1128, allocations: 192 / 444.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.1128, allocations: 7.875 kB / 444.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1129, allocations: 0 / 444.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.1129, allocations: 27.92 kB / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1134, allocations: 453.1 kB / 444.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1135, allocations: 42.5 kB / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.1136, allocations: 8.859 kB / 444.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.1136, allocations: 4 kB / 444.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.1136, allocations: 42.64 kB / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.1136, allocations: 0 / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004377/0.1141, allocations: 101.4 kB / 445.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1141, allocations: 51.41 kB / 445.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.1142, allocations: 121.8 kB / 445.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.1142, allocations: 25.7 kB / 445.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.1142, allocations: 100 kB / 445.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.1143, allocations: 11.81 kB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.1143, allocations: 17.72 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.1143, allocations: 326.8 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.1144, allocations: 15.98 kB / 445.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.1144, allocations: 35.42 kB / 445.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.1145, allocations: 67.67 kB / 445.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1145, allocations: 0 / 445.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001326/0.1147, allocations: 85.53 kB / 445.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1147, allocations: 9.25 kB / 445.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1147, allocations: 4.094 kB / 445.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1147, allocations: 0 / 445.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.1148, allocations: 12 kB / 445.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1148, allocations: 0 / 445.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.1149, allocations: 12.36 kB / 445.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1149, allocations: 0 / 445.9 MB, free: 1.934 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 6.16e-05/0.115, allocations: 121.7 kB / 446 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.115, allocations: 7.906 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.115, allocations: 7.844 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.115, allocations: 4 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.115, allocations: 0 / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.115, allocations: 4 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.1152, allocations: 177.5 kB / 446.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1152, allocations: 3.938 kB / 446.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.1153, allocations: 15.98 kB / 446.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1153, allocations: 0 / 446.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1153, allocations: 0 / 446.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1153, allocations: 0 / 446.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1153, allocations: 4 kB / 446.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.1155, allocations: 179.4 kB / 446.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.1156, allocations: 81.14 kB / 446.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1156, allocations: 0 / 446.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.1157, allocations: 4 kB / 446.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1157, allocations: 4 kB / 446.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.1157, allocations: 3.984 kB / 446.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.1157, allocations: 91.22 kB / 446.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1157, allocations: 4.062 kB / 446.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00023/0.116, allocations: 8 kB / 446.6 MB, free: 1.129 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 7.651e-05/0.1161, allocations: 99.12 kB / 446.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.1162, allocations: 43.91 kB / 446.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1162, allocations: 0 / 446.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.1163, allocations: 15.98 kB / 446.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1165, allocations: 4.188 kB / 446.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.1169, allocations: 166.8 kB / 447 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.117, allocations: 0.6885 MB / 447.6 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.1171, allocations: 0 / 447.6 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.1171, allocations: 11.44 kB / 447.7 MB, free: 40 kB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1171, allocations: 288 / 447.7 MB, free: 40 kB / 318.1 MB Notification: Performance of Templates: time 0.002719/0.1198, allocations: 0.5022 MB / 448.2 MB, free: 15.54 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 gbode -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