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.00152/0.00152, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.12 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002156, allocations: 75.91 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1174, allocations: 62.45 MB / 480.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003096/0.1206, allocations: 1.562 MB / 482.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.1208, allocations: 71.72 kB / 482.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.1209, allocations: 0 / 482.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.121, allocations: 3.938 kB / 482.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.359e-05/0.1211, allocations: 7.938 kB / 482.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.1212, allocations: 23.91 kB / 482.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1213, allocations: 31.92 kB / 482.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1215, allocations: 15.98 kB / 482.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.1215, allocations: 19.92 kB / 482.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.1216, allocations: 15.88 kB / 482.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.1216, allocations: 0 / 482.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.1216, allocations: 4 kB / 482.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.1216, allocations: 3.984 kB / 482.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1217, allocations: 19.88 kB / 482.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.071e-05/0.1218, allocations: 27.89 kB / 482.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1218, allocations: 0 / 482.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1218, allocations: 4 kB / 482.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1218, allocations: 0 / 482.6 MB, free: 3.387 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.0004875/0.1223, allocations: 351.7 kB / 482.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1223, allocations: 8.031 kB / 482.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1224, allocations: 8.844 kB / 482.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1226, allocations: 184.2 kB / 483.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1226, allocations: 4.375 kB / 483.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1226, allocations: 384 / 483.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1228, allocations: 68.81 kB / 483.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1228, allocations: 12.12 kB / 483.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1228, allocations: 3.938 kB / 483.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1228, allocations: 0 / 483.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.1229, allocations: 23.92 kB / 483.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.1235, allocations: 453.2 kB / 483.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1237, allocations: 46.48 kB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.1238, allocations: 16.86 kB / 483.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1238, allocations: 0 / 483.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1238, allocations: 38.64 kB / 483.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1238, allocations: 3.938 kB / 483.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004853/0.1243, allocations: 105.4 kB / 483.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1244, allocations: 51.41 kB / 483.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1245, allocations: 121.8 kB / 484 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1245, allocations: 25.7 kB / 484.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.1246, allocations: 88.05 kB / 484.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1246, allocations: 15.75 kB / 484.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1246, allocations: 29.7 kB / 484.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1248, allocations: 314.8 kB / 484.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.1249, allocations: 19.98 kB / 484.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.1249, allocations: 35.42 kB / 484.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1251, allocations: 63.36 kB / 484.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1251, allocations: 4 kB / 484.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001695/0.1253, allocations: 81.45 kB / 484.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1253, allocations: 8 kB / 484.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1253, allocations: 0 / 484.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1253, allocations: 0 / 484.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.1254, allocations: 24.08 kB / 484.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1254, allocations: 4.141 kB / 484.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.1255, allocations: 4 kB / 484.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1255, allocations: 4 kB / 484.7 MB, free: 0.9453 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.0001621/0.1257, allocations: 117.7 kB / 484.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.1257, allocations: 4 kB / 484.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.1257, allocations: 11.89 kB / 484.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1257, allocations: 0 / 484.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1257, allocations: 4 kB / 484.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1258, allocations: 7.938 kB / 484.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1259, allocations: 169.6 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.126, allocations: 4 kB / 485.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.126, allocations: 8 kB / 485.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.126, allocations: 0 / 485.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1261, allocations: 7.984 kB / 485.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1261, allocations: 384 / 485.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1261, allocations: 0 / 485.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1263, allocations: 179.8 kB / 485.2 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1264, allocations: 81.14 kB / 485.3 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1264, allocations: 11.86 kB / 485.3 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.1265, allocations: 8 kB / 485.3 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.1265, allocations: 0 / 485.3 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1265, allocations: 0 / 485.3 MB, free: 252 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.126e-05/0.1266, allocations: 91.27 kB / 485.4 MB, free: 160 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1266, allocations: 0 / 485.4 MB, free: 160 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1268, allocations: 8 kB / 485.4 MB, free: 152 kB / 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.0001052/0.1269, allocations: 99.25 kB / 485.5 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1271, allocations: 47.95 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1271, allocations: 0 / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.979e-05/0.1272, allocations: 15.94 kB / 485.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.1275, allocations: 4 kB / 485.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.1279, allocations: 184.1 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1283, allocations: 0.6885 MB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.1283, allocations: 11.44 kB / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1283, allocations: 3.938 kB / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Templates: time 0.002336/0.1307, allocations: 0.765 MB / 487.2 MB, free: 14.27 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches