Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.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.002061/0.002061, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00213/0.00213, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.565/1.565, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3531/0.3531, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.382e-06, allocations: 4 kB / 375.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/3.178e-05, allocations: 2.312 kB / 375.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004955/0.004987, allocations: 2.786 MB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.007267, allocations: 0.9853 MB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.007594, allocations: 11.94 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.007872, allocations: 55.39 kB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.008301, allocations: 119 kB / 379.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.009008, allocations: 147.5 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.009663, allocations: 394 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.009856, allocations: 57.34 kB / 379.8 MB, free: 472 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.01025, allocations: 215.5 kB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.01075, allocations: 115.6 kB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.01082, allocations: 24 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.01097, allocations: 47.97 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.01105, allocations: 63.75 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.01127, allocations: 111.9 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.01187, allocations: 386.7 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.01188, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01188, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.01189, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001118/0.01301, allocations: 0.6477 MB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.01307, allocations: 11.97 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.01343, allocations: 84.62 kB / 381.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.01381, allocations: 220.9 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.01384, allocations: 29.02 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.902e-05/0.01391, allocations: 40.33 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.01447, allocations: 332.7 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.01449, allocations: 192 / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.01452, allocations: 19.94 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.01453, allocations: 8 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.01488, allocations: 167.8 kB / 382.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.01715, allocations: 1.495 MB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.01769, allocations: 287.4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.01782, allocations: 82.47 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.01784, allocations: 7.984 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.01788, allocations: 49.31 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.01789, allocations: 0 / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005702/0.01846, allocations: 221.4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.01858, allocations: 162.2 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.01889, allocations: 294.8 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.01891, allocations: 25.7 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.01915, allocations: 255 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.01925, allocations: 107.3 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.01938, allocations: 75.36 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003173/0.01969, allocations: 0.5157 MB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.01983, allocations: 67.97 kB / 385.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.02016, allocations: 265.3 kB / 386.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.02069, allocations: 365.1 kB / 386.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.0207, allocations: 4 kB / 386.5 MB, free: 9.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005755/0.02127, allocations: 337.5 kB / 386.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.02129, allocations: 12 kB / 386.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.0213, allocations: 4 kB / 386.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.02132, allocations: 8 kB / 386.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.02188, allocations: 91.78 kB / 386.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.0219, allocations: 15.92 kB / 386.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.02207, allocations: 27.78 kB / 387 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.0221, allocations: 20 kB / 387 MB, free: 8.688 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.0001866/0.02229, allocations: 196.4 kB / 387.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.02241, allocations: 31.86 kB / 387.2 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.0226, allocations: 91.14 kB / 387.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.02261, allocations: 4 kB / 387.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.02262, allocations: 7.922 kB / 387.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.02263, allocations: 4 kB / 387.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.02324, allocations: 264.4 kB / 387.6 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.02325, allocations: 3.984 kB / 387.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.02358, allocations: 63.91 kB / 387.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.02359, allocations: 4 kB / 387.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.02361, allocations: 8 kB / 387.7 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02362, allocations: 0 / 387.7 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02362, allocations: 4 kB / 387.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.02446, allocations: 0.8707 MB / 388.5 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.0245, allocations: 23.8 kB / 388.6 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.02454, allocations: 12 kB / 388.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.02479, allocations: 4 kB / 388.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.02484, allocations: 27.84 kB / 388.6 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.02485, allocations: 8 kB / 388.6 MB, free: 7.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.02503, allocations: 193.8 kB / 388.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02503, allocations: 0 / 388.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.02555, allocations: 83.84 kB / 388.9 MB, free: 6.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (23): * Single equations (assignments): 23 * 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.0001468/0.0257, allocations: 103.2 kB / 389 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.02609, allocations: 199.4 kB / 389.2 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.02609, allocations: 3.938 kB / 389.2 MB, free: 6.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.02624, allocations: 89.3 kB / 389.3 MB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.02702, allocations: 68.19 kB / 389.3 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.02865, allocations: 0.9177 MB / 390.2 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.02886, allocations: 172.7 kB / 390.4 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.02898, allocations: 30.97 kB / 390.4 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.02904, allocations: 20.5 kB / 390.5 MB, free: 5.062 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02904, allocations: 0 / 390.5 MB, free: 5.062 MB / 362.7 MB Notification: Performance of Templates: time 0.00705/0.03609, allocations: 2.494 MB / 393 MB, free: 2.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBraking.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.983792090904899]