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.001627/0.001627, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001972, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.21/0.21, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 76.34 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1186, allocations: 62.44 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002788/0.1214, allocations: 1.631 MB / 480.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000234/0.1217, allocations: 63.78 kB / 481 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.1218, allocations: 0 / 481 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1219, allocations: 7.938 kB / 481 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.122, allocations: 3.938 kB / 481 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.1221, allocations: 15.98 kB / 481 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.1222, allocations: 31.92 kB / 481 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1223, allocations: 19.92 kB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.1224, allocations: 7.984 kB / 481.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.1224, allocations: 19.86 kB / 481.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1225, allocations: 4 kB / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.1225, allocations: 0 / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1225, allocations: 0 / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.1225, allocations: 15.88 kB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.1226, allocations: 39.88 kB / 481.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1226, allocations: 0 / 481.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1226, allocations: 0 / 481.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1227, allocations: 0 / 481.1 MB, free: 3.871 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.0004887/0.1231, allocations: 351.7 kB / 481.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1232, allocations: 12.88 kB / 481.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.1232, allocations: 8.844 kB / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1234, allocations: 180.2 kB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-06/0.1234, allocations: 384 / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1235, allocations: 8.375 kB / 481.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1236, allocations: 68.81 kB / 481.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1236, allocations: 192 / 481.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1237, allocations: 11.88 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1237, allocations: 4 kB / 481.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.759e-05/0.1238, allocations: 23.92 kB / 481.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.1242, allocations: 445.2 kB / 482.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1244, allocations: 38.56 kB / 482.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1245, allocations: 20.94 kB / 482.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.1245, allocations: 0 / 482.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1245, allocations: 30.56 kB / 482.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1245, allocations: 4 kB / 482.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005041/0.1251, allocations: 117.7 kB / 482.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1251, allocations: 51.41 kB / 482.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.1252, allocations: 113.8 kB / 482.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1252, allocations: 25.7 kB / 482.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.1253, allocations: 96.03 kB / 482.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1253, allocations: 19.73 kB / 482.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1254, allocations: 29.66 kB / 482.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1255, allocations: 322.8 kB / 483.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.1255, allocations: 8 kB / 483.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.1256, allocations: 43.42 kB / 483.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1258, allocations: 63.34 kB / 483.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1258, allocations: 0 / 483.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001665/0.1259, allocations: 85.52 kB / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.126, allocations: 6.656 kB / 483.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.126, allocations: 4 kB / 483.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.126, allocations: 0 / 483.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.1261, allocations: 16.09 kB / 483.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1261, allocations: 3.938 kB / 483.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.1261, allocations: 7.984 kB / 483.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1261, allocations: 4 kB / 483.3 MB, free: 1.43 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 0.0001109/0.1263, allocations: 117.8 kB / 483.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1263, allocations: 4 kB / 483.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.1263, allocations: 7.906 kB / 483.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1263, allocations: 0 / 483.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1263, allocations: 0 / 483.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1264, allocations: 4 kB / 483.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1266, allocations: 173.6 kB / 483.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1266, allocations: 0 / 483.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/0.1266, allocations: 15.92 kB / 483.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1267, allocations: 0 / 483.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1267, allocations: 0 / 483.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1267, allocations: 0 / 483.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1267, allocations: 0 / 483.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1269, allocations: 191.3 kB / 483.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.127, allocations: 81.14 kB / 483.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.127, allocations: 0 / 483.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.1271, allocations: 0 / 483.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.1271, allocations: 8.359 kB / 483.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1271, allocations: 0 / 483.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.1272, allocations: 91.22 kB / 484 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1272, allocations: 0 / 484 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.1274, allocations: 4 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.0001053/0.1275, allocations: 107.2 kB / 484.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1277, allocations: 35.92 kB / 484.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1277, allocations: 0 / 484.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.614e-05/0.1277, allocations: 19.98 kB / 484.2 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.128, allocations: 10.72 kB / 484.2 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.1284, allocations: 175.8 kB / 484.3 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1287, allocations: 0.6809 MB / 485 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.1288, allocations: 11.97 kB / 485 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.1288, allocations: 7.438 kB / 485 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1288, allocations: 0 / 485 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Templates: time 0.00235/0.1311, allocations: 428.9 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