Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 161 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9654/0.9654, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.879e-05, allocations: 6.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002587/0.002606, allocations: 2.406 MB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.003485, allocations: 0.6309 MB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.003607, allocations: 4 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.00374, allocations: 43.53 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.003868, allocations: 87.27 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.004107, allocations: 59.91 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.004325, allocations: 270.6 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.004451, allocations: 56.55 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.004651, allocations: 155.6 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004752, allocations: 83.72 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.004778, allocations: 16 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.004831, allocations: 27.98 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.004859, allocations: 43.83 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.00492, allocations: 87.77 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.005133, allocations: 171.3 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005136, allocations: 0 / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005136, allocations: 0 / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.00514, allocations: 0 / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004705/0.005611, allocations: 0.5351 MB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.005643, allocations: 12.03 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.005763, allocations: 52.78 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.005959, allocations: 188.8 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.005976, allocations: 16.88 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.006009, allocations: 24.38 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.006456, allocations: 185.7 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.006469, allocations: 8.141 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.006484, allocations: 12.31 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.006494, allocations: 7.938 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.006604, allocations: 82.86 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.007232, allocations: 0.6724 MB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.007383, allocations: 119 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.007443, allocations: 47.66 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.007456, allocations: 4 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.007476, allocations: 37.39 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.193e-06/0.007477, allocations: 0 / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008741/0.008351, allocations: 0.6445 MB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.008378, allocations: 55.41 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.008495, allocations: 221.9 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.008509, allocations: 29.7 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.008578, allocations: 191.1 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.008623, allocations: 95.2 kB / 280.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.008672, allocations: 51.36 kB / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.008781, allocations: 0.5039 MB / 280.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.008831, allocations: 27.98 kB / 280.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.008906, allocations: 86.41 kB / 281 MB, free: 9.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.009043, allocations: 152.7 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.009044, allocations: 0 / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000231/0.009275, allocations: 213.6 kB / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.009289, allocations: 7.938 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.009293, allocations: 0 / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.009414, allocations: 35.78 kB / 281.4 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.009542, allocations: 51.92 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008195/0.01036, allocations: 1.803 MB / 283.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.01043, allocations: 11.98 kB / 283.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.01044, allocations: 8 kB / 283.2 MB, free: 6.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.348e-05/0.01052, allocations: 180.4 kB / 283.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.01055, allocations: 27.86 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.01058, allocations: 21.97 kB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01058, allocations: 4 kB / 283.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01058, allocations: 0 / 283.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01059, allocations: 7.922 kB / 283.5 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.01108, allocations: 0.5729 MB / 284 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01108, allocations: 4.062 kB / 284 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.0112, allocations: 43.92 kB / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.759e-05/0.01127, allocations: 35.59 kB / 284.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01129, allocations: 8 kB / 284.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009577/0.01225, allocations: 1.818 MB / 286 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01225, allocations: 4.031 kB / 286 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.01255, allocations: 387 kB / 286.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.01256, allocations: 15.86 kB / 286.4 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.01258, allocations: 11.94 kB / 286.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.01264, allocations: 7.984 kB / 286.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.01268, allocations: 15.97 kB / 286.4 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.01268, allocations: 8 kB / 286.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.784e-05/0.01275, allocations: 164.7 kB / 286.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01275, allocations: 0 / 286.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.01296, allocations: 64 kB / 286.6 MB, free: 3.211 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.402e-05/0.01305, allocations: 107.2 kB / 286.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.01339, allocations: 298.1 kB / 287 MB, free: 2.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01339, allocations: 0 / 287 MB, free: 2.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.01355, allocations: 269.7 kB / 287.3 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01381, allocations: 39.95 kB / 287.3 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.01469, allocations: 0.5865 MB / 287.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.518e-05/0.01476, allocations: 80.33 kB / 288 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.01481, allocations: 29.92 kB / 288 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.01485, allocations: 20.5 kB / 288 MB, free: 1.691 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01485, allocations: 0 / 288 MB, free: 1.691 MB / 266.7 MB Notification: Performance of Templates: time 0.004494/0.01934, allocations: 2.596 MB / 290.6 MB, free: 15.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.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.592922651208937]