Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009526/0.0009526, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002277, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001174/0.001174, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.002256, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2135/1.395, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1794/0.1794, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02794/0.2073, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.32e-05, allocations: 6.25 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002996/0.003019, allocations: 2.757 MB / 270.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.00465, allocations: 1.009 MB / 271.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.004834, allocations: 11.94 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.004945, allocations: 55.44 kB / 271.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.005128, allocations: 107 kB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.005511, allocations: 143.5 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.005918, allocations: 394 kB / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.00607, allocations: 63.3 kB / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.006345, allocations: 219.5 kB / 272.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.006511, allocations: 115.6 kB / 272.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.006544, allocations: 24 kB / 272.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.00666, allocations: 43.98 kB / 272.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.006695, allocations: 43.81 kB / 272.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/0.006771, allocations: 95.81 kB / 272.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.007044, allocations: 239.1 kB / 272.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.007056, allocations: 4 kB / 272.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007058, allocations: 0 / 272.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.00707, allocations: 0 / 272.7 MB, free: 13.25 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006792/0.007749, allocations: 0.5816 MB / 273.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.007785, allocations: 11.89 kB / 273.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.008012, allocations: 141.9 kB / 273.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.008265, allocations: 201.3 kB / 273.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.008287, allocations: 21.03 kB / 273.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.008333, allocations: 36.33 kB / 273.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.008568, allocations: 235.2 kB / 273.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.008584, allocations: 12.05 kB / 273.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.0086, allocations: 15.94 kB / 273.9 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.008608, allocations: 8 kB / 273.9 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.008722, allocations: 83.88 kB / 274 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.009782, allocations: 1.037 MB / 275 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.01002, allocations: 184.7 kB / 275.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.01007, allocations: 60.28 kB / 275.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01008, allocations: 8 kB / 275.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.01011, allocations: 38.5 kB / 275.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.01011, allocations: 0 / 275.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002572/0.01037, allocations: 149.4 kB / 275.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.01043, allocations: 158.2 kB / 275.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01054, allocations: 202.5 kB / 275.8 MB, free: 9.824 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.01056, allocations: 25.7 kB / 275.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.01063, allocations: 184.3 kB / 276 MB, free: 9.609 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.01069, allocations: 103.1 kB / 276.1 MB, free: 9.508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.01074, allocations: 69.61 kB / 276.2 MB, free: 9.434 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.01083, allocations: 338.9 kB / 276.5 MB, free: 9.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.01087, allocations: 27.98 kB / 276.5 MB, free: 9.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.01096, allocations: 162 kB / 276.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.01115, allocations: 249.5 kB / 276.9 MB, free: 8.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01115, allocations: 0 / 276.9 MB, free: 8.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002106/0.01136, allocations: 221.1 kB / 277.2 MB, free: 8.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01137, allocations: 7.938 kB / 277.2 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01138, allocations: 8 kB / 277.2 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.0114, allocations: 4 kB / 277.2 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.01163, allocations: 108.3 kB / 277.3 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01164, allocations: 15.94 kB / 277.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.77e-05/0.01173, allocations: 35.78 kB / 277.3 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.01175, allocations: 15.98 kB / 277.4 MB, free: 8.121 MB / 282.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 8.413e-05/0.01183, allocations: 133.7 kB / 277.5 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.01189, allocations: 27.92 kB / 277.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.01201, allocations: 75.27 kB / 277.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01201, allocations: 4 kB / 277.6 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01201, allocations: 4 kB / 277.6 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01202, allocations: 3.984 kB / 277.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.01232, allocations: 153.7 kB / 277.7 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.01233, allocations: 4.562 kB / 277.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.01253, allocations: 91.81 kB / 277.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.01255, allocations: 19.86 kB / 277.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01256, allocations: 4 kB / 277.9 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.01257, allocations: 7.984 kB / 277.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.01257, allocations: 4 kB / 277.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01258, allocations: 0 / 277.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.0129, allocations: 0.5594 MB / 278.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.01292, allocations: 12 kB / 278.4 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.01306, allocations: 8 kB / 278.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.01308, allocations: 11.97 kB / 278.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01309, allocations: 8 kB / 278.5 MB, free: 6.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.01314, allocations: 62.84 kB / 278.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.01314, allocations: 4 kB / 278.5 MB, free: 6.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.01345, allocations: 79.84 kB / 278.6 MB, free: 6.809 MB / 282.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 9.836e-05/0.01355, allocations: 84.36 kB / 278.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.01373, allocations: 152.3 kB / 278.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.01374, allocations: 4 kB / 278.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.01381, allocations: 68.7 kB / 278.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.01447, allocations: 0.6722 MB / 279.6 MB, free: 5.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.01838, allocations: 0.669 MB / 280.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.556e-05/0.01846, allocations: 96.3 kB / 280.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.01856, allocations: 34.95 kB / 280.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.01869, allocations: 103.3 kB / 280.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01869, allocations: 0 / 280.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of Templates: time 0.00546/0.02415, allocations: 2.979 MB / 283.5 MB, free: 1.742 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1118816370144486]