Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 114.5 kB / 17.73 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 187 kB / 18.67 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 51.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00412/0.1141, allocations: 1.771 MB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1157, allocations: 0.6901 MB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1159, allocations: 0 / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.1161, allocations: 19.8 kB / 377.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1162, allocations: 35.7 kB / 377.6 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1165, allocations: 47.81 kB / 377.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1168, allocations: 119.4 kB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.117, allocations: 29.39 kB / 377.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.1171, allocations: 43.86 kB / 377.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1172, allocations: 51.7 kB / 377.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.1172, allocations: 8 kB / 377.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1173, allocations: 20 kB / 378 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.1174, allocations: 27.91 kB / 378 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.1174, allocations: 55.73 kB / 378 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.1177, allocations: 135.5 kB / 378.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1177, allocations: 0 / 378.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1177, allocations: 0 / 378.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1178, allocations: 0 / 378.2 MB, free: 1.516 MB / 318.1 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.0006651/0.1184, allocations: 411.1 kB / 378.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1185, allocations: 11.89 kB / 378.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.1187, allocations: 28.88 kB / 378.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.119, allocations: 196.2 kB / 378.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.119, allocations: 8.562 kB / 378.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.1191, allocations: 12.33 kB / 378.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1193, allocations: 93.59 kB / 378.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1193, allocations: 4 kB / 378.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1194, allocations: 4 kB / 378.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1194, allocations: 3.984 kB / 378.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1195, allocations: 63.97 kB / 379 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.1203, allocations: 451.6 kB / 379.4 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2546/0.3749, allocations: 106.4 kB / 379.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3751, allocations: 33.19 kB / 379.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3752, allocations: 2.438 kB / 379.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3752, allocations: 35.97 kB / 379.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.916e-06/0.3752, allocations: 0 / 379.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001517/0.3767, allocations: 0.5264 MB / 380.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.3768, allocations: 54.86 kB / 380.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3769, allocations: 126 kB / 380.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3769, allocations: 26.2 kB / 380.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.377, allocations: 106.3 kB / 380.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.377, allocations: 50.05 kB / 380.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.3771, allocations: 30.34 kB / 380.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.3772, allocations: 319.6 kB / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.3772, allocations: 28.14 kB / 380.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.3773, allocations: 64.16 kB / 380.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3774, allocations: 97.97 kB / 381 MB, free: 12.03 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3774, allocations: 0.875 kB / 381 MB, free: 12.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001919/0.3776, allocations: 136.4 kB / 381.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3777, allocations: 8.781 kB / 381.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3777, allocations: 2.031 kB / 381.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3777, allocations: 1.375 kB / 381.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3779, allocations: 34.31 kB / 381.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3779, allocations: 5.969 kB / 381.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.3779, allocations: 1.5 kB / 381.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.378, allocations: 11.66 kB / 381.2 MB, free: 11.99 MB / 318.1 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 (17): * Single equations (assignments): 17 * 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 7.692e-05/0.378, allocations: 125.6 kB / 381.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.3781, allocations: 8.594 kB / 381.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.3781, allocations: 13.98 kB / 381.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3781, allocations: 1.375 kB / 381.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3782, allocations: 4.75 kB / 381.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3782, allocations: 0.6094 kB / 381.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.3787, allocations: 424 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3787, allocations: 2.469 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3789, allocations: 27.62 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3789, allocations: 5.188 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3789, allocations: 9.328 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3789, allocations: 5.312 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3789, allocations: 1.375 kB / 381.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3792, allocations: 247.4 kB / 382.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.3792, allocations: 85.59 kB / 382.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3792, allocations: 8.641 kB / 382.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.3793, allocations: 5.219 kB / 382.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.3793, allocations: 12.73 kB / 382.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3794, allocations: 3.969 kB / 382.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.941e-05/0.3794, allocations: 100.2 kB / 382.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3794, allocations: 3.344 kB / 382.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3797, allocations: 24.84 kB / 382.3 MB, free: 11.21 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (12): * Single equations (assignments): 12 * 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.0001027/0.3798, allocations: 100.1 kB / 382.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.38, allocations: 79.48 kB / 382.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.38, allocations: 0.75 kB / 382.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.3801, allocations: 46.44 kB / 382.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3804, allocations: 28.09 kB / 382.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009154/0.3813, allocations: 449.4 kB / 383 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.3816, allocations: 0.7053 MB / 383.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.149e-05/0.3817, allocations: 9.406 kB / 383.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.3817, allocations: 12.94 kB / 383.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3817, allocations: 0 / 383.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Templates: time 0.004579/0.3863, allocations: 1.131 MB / 384.8 MB, free: 10.01 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches