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.001591/0.001591, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001149/0.001149, allocations: 88.42 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 12 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4473, allocations: 77.09 MB / 451.6 MB, free: 3.707 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.4476, allocations: 71.97 kB / 451.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.4588, allocations: 2.507 MB / 454.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4589, allocations: 0 / 454.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4589, allocations: 0 / 454.2 MB, free: 1.121 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.0006236/0.4596, allocations: 391.5 kB / 454.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4596, allocations: 8.031 kB / 454.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.4599, allocations: 23.89 kB / 454.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.4602, allocations: 198.8 kB / 454.8 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4602, allocations: 4.188 kB / 454.8 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.4603, allocations: 12 kB / 454.8 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.4605, allocations: 97.67 kB / 454.9 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4606, allocations: 0 / 454.9 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.4606, allocations: 0 / 454.9 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.4606, allocations: 4 kB / 454.9 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.4608, allocations: 60.09 kB / 455 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.4619, allocations: 486 kB / 455.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.4623, allocations: 86.53 kB / 455.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4624, allocations: 0 / 455.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4624, allocations: 42.55 kB / 455.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 7.835e-06/0.4624, allocations: 4 kB / 455.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003217/0.4628, allocations: 101.7 kB / 455.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.4628, allocations: 55.36 kB / 455.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4629, allocations: 110.3 kB / 455.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.463, allocations: 33.7 kB / 455.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4631, allocations: 174.3 kB / 456 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.4631, allocations: 27.55 kB / 456.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.4632, allocations: 15.94 kB / 456.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4633, allocations: 310.8 kB / 456.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.4634, allocations: 23.98 kB / 456.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.4635, allocations: 47.42 kB / 456.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.87e-05/0.4636, allocations: 27.94 kB / 456.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4636, allocations: 4 kB / 456.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002702/0.4639, allocations: 101.6 kB / 456.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4639, allocations: 8 kB / 456.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.464, allocations: 0 / 456.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.584e-05/0.464, allocations: 0 / 456.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.4642, allocations: 27.92 kB / 456.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4643, allocations: 4 kB / 456.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.4644, allocations: 19.8 kB / 456.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.4644, allocations: 8.094 kB / 456.7 MB, free: 14.43 MB / 346.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 () * Number of clocked 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 0.0001305/0.4646, allocations: 117.8 kB / 456.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.4646, allocations: 7.906 kB / 456.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.4647, allocations: 12.38 kB / 456.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4647, allocations: 3.938 kB / 456.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4647, allocations: 0 / 456.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4647, allocations: 4 kB / 456.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.465, allocations: 197.6 kB / 457 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.465, allocations: 0 / 457 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.4653, allocations: 20 kB / 457 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4653, allocations: 3.984 kB / 457 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4654, allocations: 8 kB / 457 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4654, allocations: 0 / 457 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4654, allocations: 0 / 457 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.4657, allocations: 207.3 kB / 457.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.4658, allocations: 85.02 kB / 457.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.4659, allocations: 4 kB / 457.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.466, allocations: 8.031 kB / 457.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.466, allocations: 11.97 kB / 457.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4661, allocations: 4 kB / 457.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.671e-05/0.4661, allocations: 87.72 kB / 457.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4662, allocations: 0 / 457.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.4665, allocations: 31.92 kB / 457.5 MB, free: 13.54 MB / 346.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 () * Number of clocked 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.0001478/0.4667, allocations: 95.25 kB / 457.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4669, allocations: 60.05 kB / 457.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4669, allocations: 4.062 kB / 457.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.467, allocations: 31.92 kB / 457.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.4674, allocations: 16.28 kB / 457.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.4685, allocations: 0.5416 MB / 458.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.4689, allocations: 0.7121 MB / 458.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.469, allocations: 11.44 kB / 458.9 MB, free: 12 MB / 346.7 MB Notification: Performance of SimCode: time 4.038e-06/0.469, allocations: 0 / 458.9 MB, free: 12 MB / 346.7 MB Notification: Performance of Templates: time 0.003885/0.4729, allocations: 1.26 MB / 460.2 MB, free: 10.74 MB / 346.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