Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001546, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.351e-05, allocations: 8 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09673, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.5017, allocations: 77 MB / 446.1 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5021, allocations: 68.95 kB / 446.1 MB, free: 180 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01078/0.5129, allocations: 2.482 MB / 448.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5129, allocations: 0 / 448.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.5129, allocations: 7.938 kB / 448.6 MB, free: 14.06 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005902/0.5135, allocations: 386.6 kB / 449 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5136, allocations: 8.031 kB / 449 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.5139, allocations: 23.89 kB / 449 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.5141, allocations: 190.7 kB / 449.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.5142, allocations: 4.188 kB / 449.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.5142, allocations: 11.94 kB / 449.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.5145, allocations: 102.3 kB / 449.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5145, allocations: 0.7656 kB / 449.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.5145, allocations: 0 / 449.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5146, allocations: 8 kB / 449.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.5148, allocations: 59.8 kB / 449.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.5159, allocations: 491.2 kB / 449.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.5163, allocations: 77.45 kB / 450 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.071e-05/0.5164, allocations: 26.61 kB / 450 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.5164, allocations: 4 kB / 450 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5164, allocations: 34.38 kB / 450 MB, free: 12.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 4.93e-06/0.5165, allocations: 4 kB / 450 MB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002768/0.5167, allocations: 80.36 kB / 450.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.5168, allocations: 55.41 kB / 450.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.5169, allocations: 109.8 kB / 450.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.517, allocations: 25.7 kB / 450.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.5171, allocations: 173.8 kB / 450.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.5171, allocations: 31.27 kB / 450.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/0.5171, allocations: 0 / 450.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5173, allocations: 322.7 kB / 450.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.5174, allocations: 23.69 kB / 450.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.5175, allocations: 43.19 kB / 450.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.5176, allocations: 35.36 kB / 450.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5176, allocations: 0 / 450.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002567/0.5178, allocations: 112.4 kB / 451 MB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5179, allocations: 7.938 kB / 451 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5179, allocations: 4 kB / 451 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5179, allocations: 0 / 451 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.5181, allocations: 23.98 kB / 451.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5182, allocations: 7.953 kB / 451.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5183, allocations: 0.9688 kB / 451.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5183, allocations: 7.812 kB / 451.1 MB, free: 11.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.262e-05/0.5184, allocations: 117 kB / 451.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.5185, allocations: 11.89 kB / 451.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.5185, allocations: 12.06 kB / 451.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5186, allocations: 0 / 451.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.5186, allocations: 4 kB / 451.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5186, allocations: 3.953 kB / 451.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.5189, allocations: 201 kB / 451.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5189, allocations: 0 / 451.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.5191, allocations: 16 kB / 451.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.5192, allocations: 4 kB / 451.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5192, allocations: 3.984 kB / 451.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5192, allocations: 4 kB / 451.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5192, allocations: 0 / 451.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.5196, allocations: 202.2 kB / 451.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.5197, allocations: 81.02 kB / 451.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.5197, allocations: 7.938 kB / 451.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5198, allocations: 4.031 kB / 451.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.5199, allocations: 7.984 kB / 451.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.5199, allocations: 8 kB / 451.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/0.52, allocations: 100.4 kB / 451.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.52, allocations: 0 / 451.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.5204, allocations: 27.84 kB / 451.9 MB, free: 10.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.5205, allocations: 98.94 kB / 452 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.5208, allocations: 54.75 kB / 452 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5208, allocations: 3.938 kB / 452 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/0.5209, allocations: 28.38 kB / 452.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5212, allocations: 24.3 kB / 452.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.5222, allocations: 347.2 kB / 452.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.5226, allocations: 0.7043 MB / 453.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.5226, allocations: 11.44 kB / 453.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5227, allocations: 0 / 453.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of Templates: time 0.003933/0.5266, allocations: 1.266 MB / 454.4 MB, free: 8.246 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches