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.001316/0.001316, allocations: 114.8 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 208.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 73.11 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1089, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002683/0.1116, allocations: 1.562 MB / 483 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002269/0.1119, allocations: 67.72 kB / 483.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.112, allocations: 4 kB / 483.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.854e-05/0.1121, allocations: 3.938 kB / 483.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.777e-05/0.1121, allocations: 3.938 kB / 483.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.1122, allocations: 31.89 kB / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1123, allocations: 35.92 kB / 483.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.1124, allocations: 8 kB / 483.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.277e-05/0.1125, allocations: 11.92 kB / 483.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.1125, allocations: 15.88 kB / 483.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1125, allocations: 4 kB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.1126, allocations: 0 / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.1126, allocations: 11.98 kB / 483.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.1126, allocations: 15.88 kB / 483.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.605e-05/0.1127, allocations: 39.89 kB / 483.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1127, allocations: 0 / 483.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1127, allocations: 0 / 483.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1128, allocations: 0 / 483.3 MB, free: 2.719 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.000387/0.1131, allocations: 354.3 kB / 483.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1132, allocations: 8.031 kB / 483.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.1132, allocations: 8.844 kB / 483.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1134, allocations: 188.1 kB / 483.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1135, allocations: 4.375 kB / 483.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1135, allocations: 8.375 kB / 483.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1137, allocations: 80.77 kB / 483.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1137, allocations: 192 / 483.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1137, allocations: 3.938 kB / 483.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1137, allocations: 4 kB / 483.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.1138, allocations: 27.92 kB / 483.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.1142, allocations: 441.2 kB / 484.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1144, allocations: 38.56 kB / 484.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.1144, allocations: 28.88 kB / 484.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.1145, allocations: 0 / 484.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1145, allocations: 34.56 kB / 484.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1145, allocations: 0 / 484.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004355/0.1149, allocations: 113.4 kB / 484.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.115, allocations: 51.41 kB / 484.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.1151, allocations: 113.8 kB / 484.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1151, allocations: 25.7 kB / 484.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.1151, allocations: 92.05 kB / 484.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.1152, allocations: 19.73 kB / 484.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.1152, allocations: 21.72 kB / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1153, allocations: 322.8 kB / 485.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.1154, allocations: 8 kB / 485.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.1154, allocations: 51.36 kB / 485.3 MB, free: 480 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.713e-05/0.1155, allocations: 55.36 kB / 485.3 MB, free: 412 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1155, allocations: 0 / 485.3 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.1157, allocations: 89.52 kB / 485.4 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1157, allocations: 7.984 kB / 485.4 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1157, allocations: 4 kB / 485.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1157, allocations: 0 / 485.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.1158, allocations: 12 kB / 485.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1158, allocations: 0 / 485.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.1159, allocations: 11.92 kB / 485.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1159, allocations: 0 / 485.4 MB, free: 280 kB / 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 7.4e-05/0.116, allocations: 125.8 kB / 485.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.116, allocations: 4 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.116, allocations: 7.906 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.116, allocations: 384 / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.116, allocations: 0 / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.116, allocations: 0 / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1162, allocations: 177.6 kB / 485.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1162, allocations: 0 / 485.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.1163, allocations: 12.36 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1163, allocations: 3.984 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1163, allocations: 0 / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1163, allocations: 4 kB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1164, allocations: 3.938 kB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1166, allocations: 187.3 kB / 486 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.1167, allocations: 81.14 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1167, allocations: 0 / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.893e-05/0.1168, allocations: 0 / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.1168, allocations: 4.062 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1168, allocations: 7.984 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.1169, allocations: 87.28 kB / 486.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1169, allocations: 0 / 486.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1171, allocations: 8 kB / 486.1 MB, free: 15.48 MB / 366.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 8.803e-05/0.1172, allocations: 99.17 kB / 486.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.1173, allocations: 35.92 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1174, allocations: 4.188 kB / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.1174, allocations: 19.98 kB / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1177, allocations: 10.39 kB / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.118, allocations: 162.1 kB / 486.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1184, allocations: 0.6807 MB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.1184, allocations: 11.98 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1184, allocations: 15.44 kB / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1184, allocations: 0 / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Templates: time 0.002263/0.1207, allocations: 433.1 kB / 487.6 MB, free: 13.96 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 -s cvode -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