Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.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.001098/0.001098, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.002655, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001042/0.001042, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.002, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.012/1.012, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09457/1.106, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.253/0.253, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02867/0.2816, allocations: 13.24 MB / 292.6 MB, free: 6.457 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.251e-05, allocations: 3.406 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004587/0.00462, allocations: 3.088 MB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.00615, allocations: 1.083 MB / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.006303, allocations: 11.88 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.006412, allocations: 67.31 kB / 298.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.006586, allocations: 126.9 kB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.006936, allocations: 179.3 kB / 298.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.007308, allocations: 473.6 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.007455, allocations: 80.62 kB / 298.9 MB, free: 92 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.007698, allocations: 271.3 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.007858, allocations: 131.6 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.007896, allocations: 36 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.008012, allocations: 51.98 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.008052, allocations: 55.75 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.008141, allocations: 115.8 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.008435, allocations: 290.9 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.516e-05/0.00845, allocations: 0 / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008451, allocations: 0 / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.008465, allocations: 0 / 299.9 MB, free: 15.16 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007432/0.009209, allocations: 0.6608 MB / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.009246, allocations: 8.922 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.009487, allocations: 158 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.009733, allocations: 209.2 kB / 300.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.009758, allocations: 37.36 kB / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.0098, allocations: 40.33 kB / 301 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.01008, allocations: 292.8 kB / 301.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.0101, allocations: 8.172 kB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.01012, allocations: 19.94 kB / 301.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.01013, allocations: 8 kB / 301.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.01026, allocations: 103.1 kB / 301.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.01138, allocations: 1.227 MB / 302.6 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.01166, allocations: 231.3 kB / 302.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.01172, allocations: 57.14 kB / 302.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.01174, allocations: 15.88 kB / 302.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.01177, allocations: 42.55 kB / 302.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.01177, allocations: 0 / 302.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002791/0.01205, allocations: 169.3 kB / 303.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.01212, allocations: 183.9 kB / 303.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.01223, allocations: 229 kB / 303.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.01224, allocations: 33.7 kB / 303.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.01232, allocations: 204.2 kB / 303.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.01238, allocations: 119 kB / 303.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.01244, allocations: 74.12 kB / 303.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.01252, allocations: 342.8 kB / 304.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.01256, allocations: 32.97 kB / 304.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01269, allocations: 202.5 kB / 304.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.01289, allocations: 285.1 kB / 304.8 MB, free: 9.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01289, allocations: 4 kB / 304.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002314/0.01312, allocations: 257.9 kB / 305 MB, free: 9.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01313, allocations: 4 kB / 305 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.01314, allocations: 8 kB / 305 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.01315, allocations: 11.94 kB / 305.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.01342, allocations: 143 kB / 305.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/0.01344, allocations: 11.94 kB / 305.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.01354, allocations: 31.78 kB / 305.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.01355, allocations: 16 kB / 305.3 MB, free: 9.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (52): * Single equations (assignments): 52 * 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.673e-05/0.01364, allocations: 137.7 kB / 305.4 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.01371, allocations: 35.91 kB / 305.4 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.483e-05/0.0138, allocations: 75.45 kB / 305.5 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.0138, allocations: 4 kB / 305.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01381, allocations: 0 / 305.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.01381, allocations: 11.98 kB / 305.5 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.01417, allocations: 173.6 kB / 305.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01417, allocations: 0 / 305.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.0144, allocations: 104.6 kB / 305.8 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.01442, allocations: 31.78 kB / 305.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.01443, allocations: 0 / 305.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01444, allocations: 8 kB / 305.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01444, allocations: 4 kB / 305.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.01444, allocations: 7.875 kB / 305.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.01475, allocations: 0.6646 MB / 306.5 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.01477, allocations: 8.312 kB / 306.5 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.01492, allocations: 8 kB / 306.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.01496, allocations: 27.89 kB / 306.5 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.01503, allocations: 8 kB / 306.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.01508, allocations: 70.78 kB / 306.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01508, allocations: 0 / 306.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.0154, allocations: 99.78 kB / 306.7 MB, free: 7.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.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 (27): * Single equations (assignments): 27 * 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 7.894e-05/0.01547, allocations: 100.3 kB / 306.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.01565, allocations: 161.9 kB / 307 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.01565, allocations: 4 kB / 307 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.57e-05/0.01571, allocations: 70.27 kB / 307 MB, free: 7.406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.01619, allocations: 111 kB / 307.2 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.02044, allocations: 0.7835 MB / 307.9 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.02052, allocations: 108.6 kB / 308 MB, free: 6.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.601e-05/0.0206, allocations: 35.23 kB / 308.1 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.02073, allocations: 119.3 kB / 308.2 MB, free: 6.199 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02073, allocations: 3.938 kB / 308.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of Templates: time 0.006589/0.02732, allocations: 3.739 MB / 311.9 MB, free: 2.566 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8335326379165053]