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.001187/0.001187, allocations: 111.9 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1893, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 79.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09344, allocations: 62.45 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002583/0.09606, allocations: 1.561 MB / 483 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.09628, allocations: 71.77 kB / 483.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.09634, allocations: 0 / 483.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.142e-05/0.09643, allocations: 7.938 kB / 483.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.587e-05/0.09647, allocations: 3.938 kB / 483.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.09659, allocations: 23.92 kB / 483.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.09669, allocations: 35.84 kB / 483.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.09678, allocations: 8 kB / 483.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.485e-05/0.09681, allocations: 19.92 kB / 483.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.09687, allocations: 15.92 kB / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.09689, allocations: 0 / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.0969, allocations: 8 kB / 483.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.09692, allocations: 3.984 kB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.09695, allocations: 19.88 kB / 483.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.763e-05/0.09704, allocations: 31.84 kB / 483.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.09705, allocations: 0 / 483.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09705, allocations: 0 / 483.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.09706, allocations: 0 / 483.3 MB, free: 2.734 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.0003627/0.09743, allocations: 359.3 kB / 483.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.09747, allocations: 8.031 kB / 483.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.0975, allocations: 12.84 kB / 483.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.09769, allocations: 184.2 kB / 483.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.0977, allocations: 4.375 kB / 483.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.09773, allocations: 384 / 483.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.09788, allocations: 68.83 kB / 483.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.0979, allocations: 8.125 kB / 483.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.09791, allocations: 3.938 kB / 483.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.09792, allocations: 4 kB / 483.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.09801, allocations: 27.97 kB / 483.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.09844, allocations: 445.2 kB / 484.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.09859, allocations: 46.55 kB / 484.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.09865, allocations: 16.94 kB / 484.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.09867, allocations: 0 / 484.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.09869, allocations: 34.56 kB / 484.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.0987, allocations: 3.938 kB / 484.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003898/0.09909, allocations: 105.4 kB / 484.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.09913, allocations: 55.39 kB / 484.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.09921, allocations: 117.8 kB / 484.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.09923, allocations: 25.7 kB / 484.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.09929, allocations: 91.98 kB / 484.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.09931, allocations: 23.67 kB / 484.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.09935, allocations: 25.7 kB / 484.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.09944, allocations: 318.8 kB / 485.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.0995, allocations: 19.98 kB / 485.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.09956, allocations: 35.42 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.887e-05/0.09967, allocations: 63.36 kB / 485.3 MB, free: 420 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.09968, allocations: 4 kB / 485.3 MB, free: 416 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001404/0.09982, allocations: 77.52 kB / 485.4 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.09985, allocations: 8 kB / 485.4 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.09985, allocations: 0 / 485.4 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.09987, allocations: 4 kB / 485.4 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.09993, allocations: 15.98 kB / 485.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.09995, allocations: 3.938 kB / 485.4 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.09999, allocations: 4 kB / 485.4 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1, allocations: 8.25 kB / 485.4 MB, free: 288 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.075e-05/0.1001, allocations: 117.8 kB / 485.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.1001, allocations: 4 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.1001, allocations: 7.906 kB / 485.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1001, allocations: 4 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1002, allocations: 0 / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1002, allocations: 0 / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1003, allocations: 169.6 kB / 485.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1003, allocations: 0 / 485.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/0.1004, allocations: 15.98 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1004, allocations: 0 / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1004, allocations: 4 kB / 485.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1004, allocations: 384 / 485.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1004, allocations: 3.984 kB / 485.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1007, allocations: 183.7 kB / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.1007, allocations: 81.14 kB / 486 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1007, allocations: 12 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.1008, allocations: 8.031 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.1008, allocations: 0 / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1008, allocations: 0 / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.1009, allocations: 91.27 kB / 486.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1009, allocations: 0 / 486.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.1011, allocations: 11.94 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 7.737e-05/0.1012, allocations: 95.19 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.1013, allocations: 47.91 kB / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1013, allocations: 0 / 486.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.1014, allocations: 15.98 kB / 486.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1016, allocations: 7.938 kB / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.1019, allocations: 158.2 kB / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1022, allocations: 0.6887 MB / 487.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.579e-05/0.1022, allocations: 0 / 487.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.1022, allocations: 11.44 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1022, allocations: 0 / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Templates: time 0.002164/0.1044, allocations: 443.8 kB / 487.6 MB, free: 13.98 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 gbode -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