Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.0009511/0.0009511, 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.00101/0.00101, allocations: 164.9 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.977/0.977, allocations: 177 MB / 205.2 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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(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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.947e-05, allocations: 2.312 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002697/0.002726, allocations: 2.394 MB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.00353, allocations: 0.6387 MB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.003632, allocations: 7.938 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.003756, allocations: 31.66 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.003862, allocations: 87.28 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.004072, allocations: 59.84 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.004293, allocations: 274.6 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.004427, allocations: 56.53 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.004622, allocations: 163.5 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004736, allocations: 87.7 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.004763, allocations: 16 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.055e-05/0.004813, allocations: 24 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.004842, allocations: 43.83 kB / 276.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.004904, allocations: 79.83 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005106, allocations: 179.3 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005109, allocations: 0 / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005109, allocations: 0 / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005113, allocations: 0 / 277.1 MB, free: 13.6 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.0005101/0.005623, allocations: 0.539 MB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.005654, allocations: 11.98 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.005782, allocations: 52.78 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.005977, allocations: 184.9 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.005994, allocations: 16.88 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.006025, allocations: 24.38 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.006244, allocations: 185.7 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.006259, allocations: 12.08 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.006275, allocations: 4.375 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.006283, allocations: 7.938 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.006399, allocations: 82.92 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.007026, allocations: 0.6685 MB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.007186, allocations: 122.5 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.007247, allocations: 47.64 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.007262, allocations: 4 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.007282, allocations: 41.39 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.007283, allocations: 0 / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008795/0.008162, allocations: 0.6384 MB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.008189, allocations: 59.41 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.008315, allocations: 225.8 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.008329, allocations: 29.7 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.008401, allocations: 191.1 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.008446, allocations: 95.16 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.0085, allocations: 51.36 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.008629, allocations: 0.5039 MB / 280.9 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.008679, allocations: 27.98 kB / 280.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.008753, allocations: 86.41 kB / 281 MB, free: 9.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.008894, allocations: 142.4 kB / 281.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.008895, allocations: 0 / 281.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002342/0.009129, allocations: 209 kB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.009142, allocations: 7.938 kB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.009146, allocations: 0 / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/0.009266, allocations: 39.77 kB / 281.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.009395, allocations: 51.92 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008234/0.01022, allocations: 1.803 MB / 283.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.01028, allocations: 11.98 kB / 283.2 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.01029, allocations: 8 kB / 283.2 MB, free: 7.004 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.436e-05/0.01037, allocations: 180.4 kB / 283.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.0104, allocations: 27.86 kB / 283.4 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.01043, allocations: 21.97 kB / 283.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01043, allocations: 4 kB / 283.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01043, allocations: 0 / 283.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01044, allocations: 3.984 kB / 283.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.01094, allocations: 0.5773 MB / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01094, allocations: 0 / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.01106, allocations: 44.05 kB / 284.1 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.852e-05/0.01115, allocations: 39.72 kB / 284.1 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.01116, allocations: 8 kB / 284.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007954/0.01196, allocations: 1.803 MB / 285.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01196, allocations: 0 / 285.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.01227, allocations: 392.5 kB / 286.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.01229, allocations: 15.86 kB / 286.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.01231, allocations: 11.94 kB / 286.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-05/0.01237, allocations: 7.984 kB / 286.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.01241, allocations: 23.84 kB / 286.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01242, allocations: 12 kB / 286.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.399e-05/0.0125, allocations: 168.7 kB / 286.6 MB, free: 3.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0125, allocations: 0 / 286.6 MB, free: 3.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.01271, allocations: 60 kB / 286.6 MB, free: 3.395 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.444e-05/0.01279, allocations: 103.2 kB / 286.7 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.01314, allocations: 308.8 kB / 287 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01315, allocations: 0 / 287 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.01332, allocations: 262.1 kB / 287.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.0136, allocations: 52.45 kB / 287.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.01444, allocations: 0.5912 MB / 287.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.387e-05/0.0145, allocations: 80.33 kB / 288 MB, free: 1.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.01455, allocations: 25.94 kB / 288 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.01458, allocations: 16.5 kB / 288 MB, free: 1.867 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01458, allocations: 0 / 288 MB, free: 1.867 MB / 266.7 MB Notification: Performance of Templates: time 0.00403/0.01861, allocations: 2.493 MB / 290.5 MB, free: 15.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5597994700074196]