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.00132/0.00132, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.09 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 72.11 kB / 417.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 62.44 MB / 479.9 MB, free: 9.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002811/0.1097, allocations: 1.62 MB / 481.5 MB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002413/0.1099, allocations: 71.7 kB / 481.6 MB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.11, allocations: 4 kB / 481.6 MB, free: 7.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1101, allocations: 3.938 kB / 481.6 MB, free: 7.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.868e-05/0.1102, allocations: 3.938 kB / 481.6 MB, free: 7.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.1103, allocations: 15.98 kB / 481.6 MB, free: 7.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.1104, allocations: 39.86 kB / 481.7 MB, free: 7.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.1105, allocations: 8 kB / 481.7 MB, free: 7.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.813e-05/0.1105, allocations: 15.92 kB / 481.7 MB, free: 7.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.1106, allocations: 11.94 kB / 481.7 MB, free: 7.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1106, allocations: 0 / 481.7 MB, free: 7.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.1106, allocations: 4 kB / 481.7 MB, free: 7.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.1107, allocations: 11.91 kB / 481.7 MB, free: 7.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.1107, allocations: 11.94 kB / 481.7 MB, free: 7.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 6.127e-05/0.1108, allocations: 19.97 kB / 481.8 MB, free: 7.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1108, allocations: 4 kB / 481.8 MB, free: 7.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1108, allocations: 0 / 481.8 MB, free: 7.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.1108, allocations: 4 kB / 481.8 MB, free: 7.238 MB / 398.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.0004344/0.1112, allocations: 351.6 kB / 482.1 MB, free: 6.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1113, allocations: 12.81 kB / 482.1 MB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1113, allocations: 8.844 kB / 482.1 MB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1115, allocations: 180.3 kB / 482.3 MB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1115, allocations: 4.375 kB / 482.3 MB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1115, allocations: 384 / 482.3 MB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1117, allocations: 80.75 kB / 482.4 MB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1117, allocations: 192 / 482.4 MB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1117, allocations: 3.938 kB / 482.4 MB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1117, allocations: 0 / 482.4 MB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1118, allocations: 27.92 kB / 482.4 MB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.1123, allocations: 453.1 kB / 482.9 MB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1125, allocations: 46.44 kB / 482.9 MB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.1126, allocations: 12.86 kB / 482.9 MB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1126, allocations: 0 / 482.9 MB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1126, allocations: 38.56 kB / 483 MB, free: 5.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1126, allocations: 0 / 483 MB, free: 5.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004806/0.1131, allocations: 105.5 kB / 483.1 MB, free: 5.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1132, allocations: 51.41 kB / 483.1 MB, free: 5.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.1132, allocations: 117.8 kB / 483.2 MB, free: 5.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1133, allocations: 25.7 kB / 483.3 MB, free: 5.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.1133, allocations: 92.03 kB / 483.3 MB, free: 5.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.1134, allocations: 19.75 kB / 483.4 MB, free: 5.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.1134, allocations: 25.7 kB / 483.4 MB, free: 5.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1135, allocations: 318.8 kB / 483.7 MB, free: 5.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.249e-05/0.1136, allocations: 15.98 kB / 483.7 MB, free: 5.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.1137, allocations: 35.42 kB / 483.8 MB, free: 5.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1138, allocations: 71.67 kB / 483.8 MB, free: 4.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1138, allocations: 0 / 483.8 MB, free: 4.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001657/0.114, allocations: 81.55 kB / 483.9 MB, free: 4.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.114, allocations: 4 kB / 483.9 MB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.114, allocations: 0 / 483.9 MB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.114, allocations: 8.094 kB / 483.9 MB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.1141, allocations: 15.98 kB / 483.9 MB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1141, allocations: 0 / 483.9 MB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.1141, allocations: 4 kB / 483.9 MB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1142, allocations: 7.938 kB / 483.9 MB, free: 4.801 MB / 398.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.226e-05/0.1142, allocations: 113.8 kB / 484.1 MB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1143, allocations: 7.906 kB / 484.1 MB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.1143, allocations: 7.891 kB / 484.1 MB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1143, allocations: 8 kB / 484.1 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1143, allocations: 0 / 484.1 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1143, allocations: 0 / 484.1 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1145, allocations: 173.6 kB / 484.2 MB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.1145, allocations: 384 / 484.2 MB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.1146, allocations: 19.94 kB / 484.3 MB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1146, allocations: 0 / 484.3 MB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.1146, allocations: 4 kB / 484.3 MB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1146, allocations: 7.922 kB / 484.3 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1146, allocations: 0 / 484.3 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1148, allocations: 175.5 kB / 484.5 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.1149, allocations: 81.02 kB / 484.5 MB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1149, allocations: 0 / 484.5 MB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.115, allocations: 12.02 kB / 484.5 MB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.115, allocations: 0 / 484.5 MB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.115, allocations: 0 / 484.5 MB, free: 4.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.1151, allocations: 95.2 kB / 484.6 MB, free: 4.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1151, allocations: 4.062 kB / 484.6 MB, free: 4.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1153, allocations: 8 kB / 484.6 MB, free: 4.004 MB / 398.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.0001056/0.1154, allocations: 95.19 kB / 484.7 MB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.1156, allocations: 39.97 kB / 484.8 MB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1156, allocations: 3.938 kB / 484.8 MB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.1156, allocations: 12 kB / 484.8 MB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1159, allocations: 11.11 kB / 484.8 MB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.1163, allocations: 197.9 kB / 485 MB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1166, allocations: 0.6848 MB / 485.7 MB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.1166, allocations: 11.44 kB / 485.7 MB, free: 2.887 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1166, allocations: 0 / 485.7 MB, free: 2.887 MB / 398.1 MB Notification: Performance of Templates: time 0.002017/0.1187, allocations: 0.7723 MB / 486.5 MB, free: 2.117 MB / 398.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