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.0008309/0.0008309, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003192/0.003192, allocations: 157.7 kB / 24.7 MB, free: 8.891 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.8663/0.8663, allocations: 177 MB / 204.9 MB, free: 5.75 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.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 1.744e-06/1.744e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.758e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002326/0.002353, allocations: 2.253 MB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.003098, allocations: 0.627 MB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.003193, allocations: 4 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.003313, allocations: 39.58 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.003426, allocations: 87.27 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.003628, allocations: 67.84 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.003834, allocations: 286.5 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.003979, allocations: 63.3 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.004171, allocations: 171.5 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.004268, allocations: 87.7 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.004293, allocations: 20 kB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.721e-05/0.00434, allocations: 24 kB / 329.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.004369, allocations: 55.75 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.004428, allocations: 87.77 kB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.004672, allocations: 267.2 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.004674, allocations: 0 / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.004676, allocations: 3.984 kB / 329.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.004681, allocations: 0 / 329.9 MB, free: 11.26 MB / 298.7 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.0005704/0.005252, allocations: 457.6 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.005285, allocations: 15.98 kB / 330.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.005393, allocations: 36.75 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.005613, allocations: 190 kB / 330.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.005634, allocations: 16.88 kB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.005673, allocations: 24.38 kB / 330.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.005898, allocations: 188.7 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.005912, allocations: 4.141 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.005931, allocations: 12.38 kB / 330.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.00594, allocations: 11.94 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.00611, allocations: 149.8 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.006679, allocations: 0.4943 MB / 331.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.006884, allocations: 167 kB / 331.6 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.00698, allocations: 91.77 kB / 331.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.006997, allocations: 4 kB / 331.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.007017, allocations: 38.56 kB / 331.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.007019, allocations: 0 / 331.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.00116/0.008179, allocations: 0.9144 MB / 332.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.008209, allocations: 55.41 kB / 332.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.008307, allocations: 170.3 kB / 332.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008321, allocations: 33.64 kB / 332.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.008382, allocations: 140.8 kB / 333.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.008434, allocations: 123 kB / 333.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.008486, allocations: 57.45 kB / 333.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.008564, allocations: 330.8 kB / 333.6 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.008652, allocations: 71.95 kB / 333.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.008752, allocations: 110.5 kB / 333.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.008943, allocations: 188.2 kB / 333.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008944, allocations: 0 / 333.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002959/0.00924, allocations: 295.2 kB / 334.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.009252, allocations: 7.938 kB / 334.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.009257, allocations: 0 / 334.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.009373, allocations: 48.83 kB / 334.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.009509, allocations: 55.91 kB / 334.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009031/0.01041, allocations: 1.61 MB / 335.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.01047, allocations: 8.031 kB / 335.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.01048, allocations: 12 kB / 335.9 MB, free: 4.852 MB / 298.7 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 9.088e-05/0.01057, allocations: 137.8 kB / 336.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.0106, allocations: 19.86 kB / 336.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.01063, allocations: 34.64 kB / 336.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01063, allocations: 4 kB / 336.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01063, allocations: 3.938 kB / 336.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01063, allocations: 4.062 kB / 336.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.01125, allocations: 0.6837 MB / 336.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01125, allocations: 0 / 336.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.01138, allocations: 59.91 kB / 336.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.99e-05/0.01145, allocations: 32.83 kB / 336.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01147, allocations: 12.09 kB / 336.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007013/0.01217, allocations: 1.351 MB / 338.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01217, allocations: 4.031 kB / 338.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.01257, allocations: 483.3 kB / 338.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.01258, allocations: 15.92 kB / 338.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.0126, allocations: 12 kB / 338.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.01266, allocations: 12.03 kB / 338.8 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.01271, allocations: 31.83 kB / 338.8 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01272, allocations: 12 kB / 338.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.429e-05/0.01277, allocations: 120.5 kB / 339 MB, free: 1.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01277, allocations: 0 / 339 MB, free: 1.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.01299, allocations: 64 kB / 339 MB, free: 1.578 MB / 298.7 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 9.345e-05/0.01308, allocations: 103.2 kB / 339.1 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.01347, allocations: 330.5 kB / 339.4 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01347, allocations: 0 / 339.4 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.01365, allocations: 239.1 kB / 339.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.01392, allocations: 59.62 kB / 339.7 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.01463, allocations: 0.652 MB / 340.4 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.529e-05/0.01473, allocations: 146.7 kB / 340.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.01477, allocations: 24.5 kB / 340.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01477, allocations: 0 / 340.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Templates: time 0.003742/0.01852, allocations: 3.975 MB / 344.5 MB, free: 11.97 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/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: 4.636879771016538]