Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.001922/0.001922, allocations: 99.55 kB / 20.97 MB, free: 3.453 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.001992/0.001992, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.588/1.588, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|inertia1.w|inertia2.w|inertia3.w|inertia4.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.278e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.003788/0.00381, allocations: 2.275 MB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.00529, allocations: 0.7322 MB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.005409, allocations: 7.938 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.005564, allocations: 35.64 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.005844, allocations: 91.2 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.006172, allocations: 115.7 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.006585, allocations: 310.4 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.006735, allocations: 48.55 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.006969, allocations: 163.6 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.007139, allocations: 87.77 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.007187, allocations: 20 kB / 276.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.007236, allocations: 20 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.007302, allocations: 55.75 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.007434, allocations: 83.77 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.0078, allocations: 267.1 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007803, allocations: 4 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007804, allocations: 0 / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.007809, allocations: 3.938 kB / 276.5 MB, free: 13.49 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009376/0.008747, allocations: 0.5582 MB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.00879, allocations: 11.98 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.008893, allocations: 52.73 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.009229, allocations: 204.1 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.009256, allocations: 16.88 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.009304, allocations: 24.38 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.009783, allocations: 251.4 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.009804, allocations: 4.141 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.009832, allocations: 12.38 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.009842, allocations: 7.938 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.0102, allocations: 135.8 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.01192, allocations: 1.162 MB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.01244, allocations: 240.3 kB / 279.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.0126, allocations: 70.81 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.01262, allocations: 11.92 kB / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.01266, allocations: 37.39 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.01266, allocations: 0 / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006306/0.01329, allocations: 201.3 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.0134, allocations: 136.5 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.01368, allocations: 266.7 kB / 279.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.01372, allocations: 41.69 kB / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.01389, allocations: 211 kB / 280.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.01398, allocations: 75.42 kB / 280.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.01408, allocations: 59.36 kB / 280.2 MB, free: 9.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.0144, allocations: 0.504 MB / 280.7 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.01456, allocations: 55.97 kB / 280.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.01486, allocations: 218.9 kB / 281 MB, free: 8.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.01532, allocations: 274.9 kB / 281.3 MB, free: 8.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01532, allocations: 0 / 281.3 MB, free: 8.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005326/0.01586, allocations: 273.2 kB / 281.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01587, allocations: 11.94 kB / 281.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.01588, allocations: 4 kB / 281.5 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.0159, allocations: 4 kB / 281.6 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.01619, allocations: 67.91 kB / 281.6 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.01621, allocations: 20.23 kB / 281.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.01635, allocations: 31.78 kB / 281.7 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.01638, allocations: 12 kB / 281.7 MB, free: 7.828 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.01655, allocations: 180.5 kB / 281.9 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/0.01664, allocations: 23.91 kB / 281.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.0167, allocations: 25.02 kB / 281.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.01671, allocations: 4 kB / 281.9 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01671, allocations: 0 / 281.9 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01672, allocations: 3.938 kB / 281.9 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.01719, allocations: 228.4 kB / 282.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01719, allocations: 4 kB / 282.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.01747, allocations: 51.91 kB / 282.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.01748, allocations: 4 kB / 282.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.0175, allocations: 4 kB / 282.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.0175, allocations: 4 kB / 282.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0175, allocations: 0 / 282.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.01829, allocations: 0.7082 MB / 282.9 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.01833, allocations: 19.83 kB / 282.9 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.01837, allocations: 8 kB / 282.9 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.01857, allocations: 8.75 kB / 282.9 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.01863, allocations: 19.91 kB / 283 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01864, allocations: 4 kB / 283 MB, free: 6.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.01882, allocations: 191.2 kB / 283.2 MB, free: 6.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01882, allocations: 0 / 283.2 MB, free: 6.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.01927, allocations: 59.89 kB / 283.2 MB, free: 6.223 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,signTorque.phi,inertia2.w,linearSpeedDependentTorque.phi,inertia3.w,quadraticSpeedDependentTorque.phi,inertia4.w,inverseSpeedDependentTorque.phi) * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.01942, allocations: 103.2 kB / 283.3 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.01984, allocations: 168 kB / 283.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01984, allocations: 0 / 283.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.02002, allocations: 75.77 kB / 283.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007102/0.02073, allocations: 68.14 kB / 283.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.02207, allocations: 0.6851 MB / 284.3 MB, free: 5.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.02225, allocations: 134.2 kB / 284.4 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.792e-05/0.02235, allocations: 34.27 kB / 284.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.02241, allocations: 24.5 kB / 284.5 MB, free: 4.863 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02242, allocations: 0 / 284.5 MB, free: 4.863 MB / 266.7 MB Notification: Performance of Templates: time 0.006681/0.0291, allocations: 2.382 MB / 286.9 MB, free: 2.527 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/CompareBrakingTorque/CompareBrakingTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.628908209968358]