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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009159/0.0009159, allocations: 166.2 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9317/0.9317, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 34.86 MB / 296.6 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.808e-05, allocations: 3.719 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001995/0.002013, allocations: 1.593 MB / 380.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002081/0.002221, allocations: 71.78 kB / 380.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.002276, allocations: 3.938 kB / 380.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.93e-05/0.002366, allocations: 3.938 kB / 380.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.002391, allocations: 3.938 kB / 380.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.002504, allocations: 27.91 kB / 380.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.002591, allocations: 35.86 kB / 380.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.002667, allocations: 11.98 kB / 380.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.002704, allocations: 15.98 kB / 380.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.002745, allocations: 15.92 kB / 380.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.002761, allocations: 0 / 380.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.00277, allocations: 4 kB / 380.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.002784, allocations: 0 / 380.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.002806, allocations: 19.91 kB / 380.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.284e-05/0.002889, allocations: 19.92 kB / 380.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.002891, allocations: 4 kB / 380.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.002892, allocations: 0 / 380.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.002896, allocations: 0 / 380.6 MB, free: 0.5859 MB / 346.7 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.0003533/0.003249, allocations: 384.5 kB / 380.9 MB, free: 176 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.003285, allocations: 12.03 kB / 381 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.00332, allocations: 4.938 kB / 381 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.003455, allocations: 128.5 kB / 381.1 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.003463, allocations: 4.312 kB / 381.1 MB, free: 0 / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.003497, allocations: 8.422 kB / 381.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.003624, allocations: 85.95 kB / 381.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003632, allocations: 4.125 kB / 381.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.00364, allocations: 384 / 381.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.003647, allocations: 4.375 kB / 381.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.003678, allocations: 11.94 kB / 381.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.004014, allocations: 0.5289 MB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.004121, allocations: 43.05 kB / 381.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.00414, allocations: 7.688 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.004152, allocations: 4 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.004169, allocations: 37.33 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.00417, allocations: 0 / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002958/0.004466, allocations: 89.73 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.004493, allocations: 55.41 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.004573, allocations: 185.7 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.004582, allocations: 29.7 kB / 382.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.004631, allocations: 134.8 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.004642, allocations: 15.89 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.00467, allocations: 23.38 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.004766, allocations: 0.4884 MB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.004784, allocations: 11.97 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.004813, allocations: 38.75 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.004867, allocations: 62.67 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.004868, allocations: 0 / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.264e-05/0.00495, allocations: 73.52 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.004961, allocations: 4 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004965, allocations: 0 / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.004977, allocations: 4 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.376e-05/0.005021, allocations: 15.92 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.005026, allocations: 8.094 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.005048, allocations: 0 / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.005054, allocations: 4 kB / 383 MB, free: 13.84 MB / 362.7 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 6.345e-05/0.005117, allocations: 156.6 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.005134, allocations: 7.938 kB / 383.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.005156, allocations: 8 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005158, allocations: 7.938 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.005162, allocations: 3.984 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005166, allocations: 0 / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.604e-05/0.005262, allocations: 124.6 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005263, allocations: 4 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.005302, allocations: 8 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.005304, allocations: 3.938 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.005312, allocations: 0 / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.005314, allocations: 3.938 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.005315, allocations: 4 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.005439, allocations: 207.9 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.005445, allocations: 3.953 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.005458, allocations: 3.938 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.005488, allocations: 4 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.005502, allocations: 7.984 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005504, allocations: 4.031 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.519e-05/0.00554, allocations: 135.2 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00554, allocations: 0 / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.005684, allocations: 4 kB / 383.7 MB, free: 13.09 MB / 362.7 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 6.227e-05/0.005746, allocations: 103.1 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.974e-05/0.005826, allocations: 27.95 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.005827, allocations: 0 / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.625e-05/0.005843, allocations: 19.62 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.006029, allocations: 16.36 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.006267, allocations: 154 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.006299, allocations: 55.36 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.246e-05/0.006321, allocations: 7.984 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.006344, allocations: 12.5 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.006344, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Templates: time 0.00184/0.008184, allocations: 477.1 kB / 384.6 MB, free: 12.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8743270670529455]