Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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.001904/0.001904, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00252/0.00252, allocations: 214.5 kB / 24.48 MB, free: 3.93 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.514/1.514, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.First,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.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,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.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.89 kB / 379 MB, free: 2.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 53.42 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004558/0.3073, allocations: 2.244 MB / 434.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3087, allocations: 0.6194 MB / 435.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3089, allocations: 11.88 kB / 435.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.309, allocations: 31.66 kB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.3092, allocations: 79.27 kB / 435.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3095, allocations: 75.84 kB / 435.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.3099, allocations: 262.8 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.3101, allocations: 75.03 kB / 435.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.3104, allocations: 119.5 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.3105, allocations: 95.48 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.3106, allocations: 20 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.3107, allocations: 31.98 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.3107, allocations: 55.77 kB / 436.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3108, allocations: 99.53 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.3112, allocations: 273.8 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3112, allocations: 0 / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3112, allocations: 0 / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3112, allocations: 0 / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008339/0.3121, allocations: 461.5 kB / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3121, allocations: 11.98 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.3123, allocations: 44.67 kB / 437 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.3126, allocations: 190.8 kB / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.3127, allocations: 20.8 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.3127, allocations: 28.33 kB / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3131, allocations: 191.6 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3131, allocations: 7.938 kB / 437.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3131, allocations: 8 kB / 437.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.3131, allocations: 4 kB / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.3134, allocations: 137.6 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/0.3144, allocations: 0.5135 MB / 438.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.3147, allocations: 162.5 kB / 438.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.3149, allocations: 88.81 kB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.3149, allocations: 4 kB / 438.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.3149, allocations: 38.59 kB / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/0.3149, allocations: 0 / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001924/0.3168, allocations: 0.9198 MB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3169, allocations: 59.34 kB / 439.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.3171, allocations: 167 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.3171, allocations: 33.7 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3172, allocations: 140.7 kB / 439.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3173, allocations: 119 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.3174, allocations: 53.7 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3176, allocations: 338.8 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3177, allocations: 71.97 kB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.3179, allocations: 107.2 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.3182, allocations: 192.7 kB / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3182, allocations: 0 / 440.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005348/0.3188, allocations: 295.3 kB / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3188, allocations: 4 kB / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3188, allocations: 0 / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.319, allocations: 44.83 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.3192, allocations: 55.91 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.3209, allocations: 1.602 MB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.321, allocations: 12.28 kB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.321, allocations: 12 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.3211, allocations: 133.8 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.3212, allocations: 27.86 kB / 442.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.245e-05/0.3213, allocations: 34.58 kB / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3213, allocations: 0 / 442.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3213, allocations: 4 kB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3213, allocations: 0 / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3224, allocations: 0.6874 MB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3224, allocations: 3.938 kB / 443.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.3226, allocations: 55.97 kB / 443.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.3228, allocations: 40.77 kB / 443.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3228, allocations: 4 kB / 443.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.324, allocations: 1.354 MB / 444.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.324, allocations: 3.938 kB / 444.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.3248, allocations: 490.9 kB / 445.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.3248, allocations: 19.86 kB / 445.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3248, allocations: 12.03 kB / 445.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.325, allocations: 16 kB / 445.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.325, allocations: 23.95 kB / 445.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3251, allocations: 4 kB / 445.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3252, allocations: 124.5 kB / 445.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3252, allocations: 0 / 445.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.3255, allocations: 72 kB / 445.6 MB, free: 8.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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 0.0001526/0.3257, allocations: 102.6 kB / 445.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.3263, allocations: 334.6 kB / 446 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3263, allocations: 0 / 446 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.3267, allocations: 230.5 kB / 446.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3271, allocations: 45.8 kB / 446.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3285, allocations: 0.7706 MB / 447.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.3286, allocations: 146.8 kB / 447.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.3287, allocations: 27.42 kB / 447.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3287, allocations: 4 kB / 447.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of Templates: time 0.006633/0.3353, allocations: 3.952 MB / 451.2 MB, free: 3.059 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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: 7.637484306935221]