Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 108.5 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002026/0.002026, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001525, allocations: 80.39 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1171, allocations: 62.45 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003172/0.1203, allocations: 1.62 MB / 480.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.1206, allocations: 67.78 kB / 481 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.1207, allocations: 0 / 481 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1208, allocations: 3.938 kB / 481 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.1209, allocations: 3.938 kB / 481 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.1211, allocations: 23.97 kB / 481 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1212, allocations: 31.86 kB / 481 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.1213, allocations: 8 kB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.1214, allocations: 15.92 kB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.1214, allocations: 11.94 kB / 481.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1215, allocations: 4 kB / 481.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.1215, allocations: 0 / 481.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.1215, allocations: 7.984 kB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1216, allocations: 19.86 kB / 481.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.415e-05/0.1217, allocations: 27.91 kB / 481.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1217, allocations: 0 / 481.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1217, allocations: 0 / 481.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1217, allocations: 0 / 481.1 MB, free: 3.887 MB / 350.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.0004973/0.1222, allocations: 355.7 kB / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1222, allocations: 16.81 kB / 481.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.1223, allocations: 4.844 kB / 481.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.1225, allocations: 188.2 kB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1225, allocations: 4.375 kB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1225, allocations: 4.375 kB / 481.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1227, allocations: 72.81 kB / 481.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1227, allocations: 192 / 481.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1228, allocations: 3.938 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1228, allocations: 7.938 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.774e-05/0.1229, allocations: 23.97 kB / 481.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.1235, allocations: 449.1 kB / 482.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1237, allocations: 42.56 kB / 482.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.1238, allocations: 16.94 kB / 482.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1238, allocations: 0 / 482.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1239, allocations: 34.56 kB / 482.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1239, allocations: 4 kB / 482.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000673/0.1246, allocations: 109.4 kB / 482.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.1246, allocations: 51.41 kB / 482.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1248, allocations: 117.8 kB / 482.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1248, allocations: 25.7 kB / 482.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.1249, allocations: 92.05 kB / 482.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.1249, allocations: 15.73 kB / 482.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.125, allocations: 25.72 kB / 482.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1252, allocations: 322.7 kB / 483.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.1252, allocations: 15.98 kB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.1253, allocations: 39.42 kB / 483.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1255, allocations: 63.36 kB / 483.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1255, allocations: 0 / 483.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001715/0.1256, allocations: 81.52 kB / 483.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1257, allocations: 4 kB / 483.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1257, allocations: 4 kB / 483.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1257, allocations: 0 / 483.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.1258, allocations: 20.08 kB / 483.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1258, allocations: 3.938 kB / 483.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/0.1259, allocations: 7.938 kB / 483.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1259, allocations: 4 kB / 483.3 MB, free: 1.438 MB / 350.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.668e-05/0.126, allocations: 117.8 kB / 483.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.126, allocations: 7.984 kB / 483.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.126, allocations: 3.906 kB / 483.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.126, allocations: 0 / 483.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.126, allocations: 4 kB / 483.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1261, allocations: 4 kB / 483.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1262, allocations: 178 kB / 483.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1262, allocations: 0 / 483.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/0.1263, allocations: 11.98 kB / 483.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1263, allocations: 0 / 483.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1264, allocations: 7.938 kB / 483.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1264, allocations: 0 / 483.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1264, allocations: 0 / 483.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1266, allocations: 183.3 kB / 483.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.1267, allocations: 85.12 kB / 483.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1267, allocations: 0 / 483.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.1268, allocations: 0 / 483.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.1268, allocations: 4 kB / 483.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.1268, allocations: 432 / 483.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.827e-05/0.1269, allocations: 91.27 kB / 484 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1269, allocations: 0 / 484 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1271, allocations: 8 kB / 484 MB, free: 0.6484 MB / 350.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.0001/0.1272, allocations: 99.25 kB / 484.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1274, allocations: 43.91 kB / 484.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1274, allocations: 0 / 484.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.1275, allocations: 16.08 kB / 484.2 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1278, allocations: 10.59 kB / 484.2 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.1282, allocations: 175.8 kB / 484.3 MB, free: 284 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1285, allocations: 0.6848 MB / 485 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.1285, allocations: 4 kB / 485 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.1286, allocations: 7.438 kB / 485 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1286, allocations: 0 / 485 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Templates: time 0.002751/0.1313, allocations: 435.5 kB / 485.5 MB, free: 15.13 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches