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.001866/0.001866, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001709/0.001709, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.548/1.548, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2208/0.2208, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 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.503e-06/1.503e-06, allocations: 0 / 442.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.845e-05, allocations: 2.281 kB / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002916/0.002945, allocations: 1.554 MB / 444.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003039/0.003249, allocations: 71.66 kB / 444.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.003321, allocations: 4 kB / 444.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.003449, allocations: 11.88 kB / 444.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.003481, allocations: 0 / 444.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.003627, allocations: 15.98 kB / 444.3 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.003757, allocations: 47.78 kB / 444.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.003847, allocations: 3.984 kB / 444.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.003904, allocations: 19.98 kB / 444.4 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.003961, allocations: 11.92 kB / 444.4 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.00398, allocations: 4 kB / 444.4 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.00399, allocations: 0 / 444.4 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.004011, allocations: 12 kB / 444.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.004043, allocations: 11.92 kB / 444.4 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.004163, allocations: 35.83 kB / 444.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004165, allocations: 0 / 444.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004166, allocations: 0 / 444.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.004169, allocations: 3.938 kB / 444.4 MB, free: 3.523 MB / 366.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.0004706/0.00464, allocations: 278.2 kB / 444.7 MB, free: 3.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.004679, allocations: 12.03 kB / 444.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.004715, allocations: 0.9375 kB / 444.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.00494, allocations: 125.7 kB / 444.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.004963, allocations: 12.31 kB / 444.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.004984, allocations: 384 / 444.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.005172, allocations: 76.8 kB / 444.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.005183, allocations: 192 / 444.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.005193, allocations: 384 / 444.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.0052, allocations: 4.359 kB / 444.9 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.005306, allocations: 31.86 kB / 445 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.005855, allocations: 388.9 kB / 445.4 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.006044, allocations: 46.5 kB / 445.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.006099, allocations: 16.94 kB / 445.4 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.006119, allocations: 4 kB / 445.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.00615, allocations: 34.5 kB / 445.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.006151, allocations: 0 / 445.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005494/0.0067, allocations: 109.5 kB / 445.6 MB, free: 2.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.006752, allocations: 51.41 kB / 445.6 MB, free: 2.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.006864, allocations: 117.8 kB / 445.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.006885, allocations: 25.7 kB / 445.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.006965, allocations: 92.09 kB / 445.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.006982, allocations: 15.83 kB / 445.9 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.007026, allocations: 25.72 kB / 445.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.007176, allocations: 310.8 kB / 446.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.00723, allocations: 15.98 kB / 446.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.007301, allocations: 43.41 kB / 446.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.007425, allocations: 63.36 kB / 446.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007426, allocations: 7.938 kB / 446.3 MB, free: 1.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001811/0.007607, allocations: 85.44 kB / 446.4 MB, free: 1.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.007622, allocations: 8 kB / 446.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007627, allocations: 384 / 446.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.007647, allocations: 8 kB / 446.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.007716, allocations: 15.98 kB / 446.4 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.007721, allocations: 4.094 kB / 446.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.007763, allocations: 7.938 kB / 446.4 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.007771, allocations: 4 kB / 446.4 MB, free: 1.309 MB / 366.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 8.974e-05/0.007861, allocations: 117.8 kB / 446.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.007887, allocations: 3.938 kB / 446.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.007929, allocations: 8 kB / 446.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.00793, allocations: 7.938 kB / 446.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.007935, allocations: 0 / 446.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007937, allocations: 0 / 446.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.008083, allocations: 109.3 kB / 446.7 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.008084, allocations: 4 kB / 446.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.008164, allocations: 11.98 kB / 446.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.008169, allocations: 4.312 kB / 446.7 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.00818, allocations: 4 kB / 446.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008182, allocations: 0 / 446.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008182, allocations: 0 / 446.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.008441, allocations: 183.5 kB / 446.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.008452, allocations: 7.891 kB / 446.9 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.008467, allocations: 4.031 kB / 446.9 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.006e-05/0.008527, allocations: 64 / 446.9 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.008541, allocations: 4 kB / 446.9 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.008552, allocations: 11.92 kB / 446.9 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.008607, allocations: 87.28 kB / 447 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.008607, allocations: 0 / 447 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.00883, allocations: 4 kB / 447 MB, free: 0.6836 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 9.339e-05/0.008923, allocations: 99.23 kB / 447.1 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.009082, allocations: 31.92 kB / 447.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009084, allocations: 192 / 447.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.009129, allocations: 23.98 kB / 447.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.00939, allocations: 11.94 kB / 447.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.009765, allocations: 152.9 kB / 447.3 MB, free: 344 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.677e-05/0.009832, allocations: 67.34 kB / 447.4 MB, free: 256 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.009863, allocations: 11.92 kB / 447.4 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.009889, allocations: 8.5 kB / 447.4 MB, free: 236 kB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.00989, allocations: 4 kB / 447.4 MB, free: 232 kB / 366.1 MB Notification: Performance of Templates: time 0.1881/0.198, allocations: 460.8 kB / 447.9 MB, free: 19.06 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.876180417835712]