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.001029/0.001029, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001031/0.001031, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 1.02/1.02, allocations: 177 MB / 205.9 MB, free: 4.453 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.1589/0.1589, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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 2.374e-06/2.374e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.544e-05, allocations: 4.734 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002319/0.002344, allocations: 1.586 MB / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002783/0.002622, allocations: 71.73 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.002722, allocations: 0 / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.002874, allocations: 15.92 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.002916, allocations: 15.86 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.003083, allocations: 11.98 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.003207, allocations: 35.86 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.003333, allocations: 11.98 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.003396, allocations: 15.98 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.003471, allocations: 11.92 kB / 381.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.003495, allocations: 4 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.003506, allocations: 0 / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.003535, allocations: 11.94 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.003557, allocations: 7.984 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003681, allocations: 31.84 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.003685, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.003687, allocations: 4 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.003694, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.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.0004292/0.004124, allocations: 372.6 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.004173, allocations: 8.031 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.004212, allocations: 8.891 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.0044, allocations: 128.5 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004412, allocations: 8.375 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.004437, allocations: 4.312 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.004576, allocations: 93.97 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.004586, allocations: 192 / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.004595, allocations: 384 / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.004606, allocations: 4.375 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.004639, allocations: 19.81 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.00497, allocations: 0.4983 MB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.005082, allocations: 42.98 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.0051, allocations: 15.69 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.005114, allocations: 0 / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.005135, allocations: 37.39 kB / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.005136, allocations: 0 / 383 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003304/0.005467, allocations: 77.59 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.005494, allocations: 51.41 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.00556, allocations: 177.9 kB / 383.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.005566, allocations: 25.7 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.005615, allocations: 142.8 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.005624, allocations: 15.89 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.005658, allocations: 31.36 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.005729, allocations: 496.1 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.005741, allocations: 4 kB / 384 MB, free: 18.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.005775, allocations: 43.06 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.005823, allocations: 58.66 kB / 384.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005825, allocations: 3.984 kB / 384.1 MB, free: 18.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.187e-05/0.005897, allocations: 69.55 kB / 384.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.005911, allocations: 11.94 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.005917, allocations: 0 / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.005928, allocations: 0 / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.472e-05/0.005973, allocations: 16 kB / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.005976, allocations: 0 / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.005998, allocations: 7.984 kB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.006003, allocations: 0 / 384.3 MB, free: 18.22 MB / 314.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 5.369e-05/0.006057, allocations: 160.5 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.006075, allocations: 11.94 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.006099, allocations: 8.062 kB / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006101, allocations: 0 / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.006103, allocations: 0 / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.006107, allocations: 0 / 384.4 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.057e-05/0.006198, allocations: 109.2 kB / 384.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.006198, allocations: 0 / 384.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.006238, allocations: 11.98 kB / 384.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.00624, allocations: 7.938 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.00625, allocations: 4 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006252, allocations: 3.938 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006253, allocations: 0 / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.006375, allocations: 211.8 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.006384, allocations: 3.953 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.006396, allocations: 0 / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.006426, allocations: 11.92 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.006443, allocations: 4 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.006445, allocations: 0 / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.006475, allocations: 131.2 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006475, allocations: 0 / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.006616, allocations: 4 kB / 384.9 MB, free: 17.49 MB / 314.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.307e-05/0.00668, allocations: 95.28 kB / 385 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.006767, allocations: 35.59 kB / 385 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006768, allocations: 0 / 385 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.389e-05/0.006782, allocations: 19.67 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.006984, allocations: 8.969 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.007215, allocations: 151.9 kB / 385.2 MB, free: 17.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.007247, allocations: 63.2 kB / 385.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.751e-05/0.007275, allocations: 4 kB / 385.3 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.007317, allocations: 78.33 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.007318, allocations: 0 / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of Templates: time 0.001978/0.009296, allocations: 0.5196 MB / 385.9 MB, free: 16.48 MB / 314.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: 3.298214123118669]