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.0009876/0.0009876, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.00119/0.00119, allocations: 169.2 kB / 24.91 MB, free: 9.184 MB / 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 1.048/1.048, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.633e-06/1.633e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.343e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003653/0.003676, allocations: 2.384 MB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004812, allocations: 0.6502 MB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.004946, allocations: 7.938 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.005095, allocations: 31.66 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.005266, allocations: 87.27 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.005507, allocations: 55.86 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.005789, allocations: 274.6 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.005924, allocations: 62.5 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.006118, allocations: 167.5 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.00622, allocations: 79.78 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.006244, allocations: 16 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.678e-05/0.006291, allocations: 24 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.006319, allocations: 47.77 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.006374, allocations: 79.81 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.006547, allocations: 175.3 kB / 277.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006549, allocations: 0 / 277.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00655, allocations: 0 / 277.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.006553, allocations: 0 / 277.6 MB, free: 13.17 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.0004078/0.006961, allocations: 436.2 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.006997, allocations: 12.02 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.0071, allocations: 36.91 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.00725, allocations: 166.1 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.007261, allocations: 12.88 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.007289, allocations: 28.36 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.007446, allocations: 184 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.007456, allocations: 192 / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.007466, allocations: 4.375 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.007474, allocations: 15.92 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.176e-05/0.007536, allocations: 51.47 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.008013, allocations: 478.5 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.008123, allocations: 102.4 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.00816, allocations: 37.17 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.008173, allocations: 8 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.00819, allocations: 38.52 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.001e-06/0.008191, allocations: 0 / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007086/0.0089, allocations: 0.5635 MB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.008925, allocations: 59.41 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.009011, allocations: 166.5 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.009024, allocations: 29.7 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.009073, allocations: 144.3 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.009112, allocations: 95.14 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.009156, allocations: 53.67 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.009233, allocations: 338.7 kB / 280.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.009256, allocations: 16 kB / 280.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.009303, allocations: 68.23 kB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.713e-05/0.00939, allocations: 110.8 kB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.009391, allocations: 0 / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001501/0.009541, allocations: 154.9 kB / 280.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.009552, allocations: 4 kB / 280.9 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.009557, allocations: 4 kB / 280.9 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.295e-05/0.00965, allocations: 40.89 kB / 280.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.009764, allocations: 43.92 kB / 281 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005764/0.01034, allocations: 1.218 MB / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.01039, allocations: 8 kB / 282.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.0104, allocations: 4 kB / 282.2 MB, free: 8.16 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 6.587e-05/0.01046, allocations: 125.9 kB / 282.3 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.01049, allocations: 23.92 kB / 282.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.01051, allocations: 25.91 kB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01051, allocations: 4 kB / 282.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01052, allocations: 0 / 282.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01052, allocations: 3.984 kB / 282.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.0109, allocations: 423.1 kB / 282.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.0109, allocations: 4 kB / 282.8 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.011, allocations: 40.05 kB / 282.9 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.677e-05/0.01107, allocations: 32.77 kB / 282.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.01108, allocations: 4 kB / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005129/0.01159, allocations: 1.221 MB / 284.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.01159, allocations: 8.031 kB / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.0118, allocations: 286.1 kB / 284.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.01181, allocations: 15.84 kB / 284.4 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.01183, allocations: 8 kB / 284.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.01188, allocations: 11.98 kB / 284.4 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.01191, allocations: 15.97 kB / 284.5 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.01192, allocations: 4 kB / 284.5 MB, free: 5.762 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.01195, allocations: 54.38 kB / 284.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01195, allocations: 3.938 kB / 284.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000168/0.01212, allocations: 60 kB / 284.6 MB, free: 5.645 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 7.978e-05/0.0122, allocations: 80.36 kB / 284.7 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.01244, allocations: 235.4 kB / 284.9 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01244, allocations: 4 kB / 284.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.01257, allocations: 195.6 kB / 285.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.01276, allocations: 39.98 kB / 285.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.01345, allocations: 0.5216 MB / 285.6 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.01349, allocations: 88.31 kB / 285.7 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.079e-05/0.01353, allocations: 13.95 kB / 285.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.01362, allocations: 83.36 kB / 285.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01362, allocations: 4 kB / 285.8 MB, free: 4.301 MB / 266.7 MB Notification: Performance of Templates: time 0.004103/0.01773, allocations: 2.663 MB / 288.5 MB, free: 1.688 MB / 266.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.826615354977548]