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.001512/0.001512, allocations: 107.5 kB / 18.4 MB, free: 4.699 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.001266/0.001266, allocations: 187.1 kB / 19.33 MB, free: 3.781 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.585/1.585, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001408/0.001408, allocations: 52.39 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004149/0.1168, allocations: 1.76 MB / 377.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1186, allocations: 0.694 MB / 378.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1188, allocations: 0 / 378.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.119, allocations: 19.8 kB / 378.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1191, allocations: 35.69 kB / 378.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.1195, allocations: 51.81 kB / 378.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.1198, allocations: 115.4 kB / 378.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.12, allocations: 33.38 kB / 378.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1201, allocations: 43.86 kB / 378.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1203, allocations: 47.72 kB / 378.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.1203, allocations: 8 kB / 378.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1204, allocations: 31.98 kB / 378.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.1205, allocations: 23.91 kB / 378.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.1206, allocations: 55.73 kB / 378.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.1209, allocations: 123.6 kB / 378.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.1209, allocations: 7.938 kB / 378.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1209, allocations: 0 / 378.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1209, allocations: 0 / 378.8 MB, free: 1.527 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.0007309/0.1217, allocations: 399.4 kB / 379.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1217, allocations: 15.83 kB / 379.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.122, allocations: 32.73 kB / 379.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1223, allocations: 196.1 kB / 379.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1224, allocations: 4.562 kB / 379.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1224, allocations: 12.38 kB / 379.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.1226, allocations: 93.59 kB / 379.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1227, allocations: 7.984 kB / 379.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1227, allocations: 0 / 379.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1227, allocations: 0 / 379.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1228, allocations: 67.97 kB / 379.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007938/0.1236, allocations: 447.5 kB / 380.1 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.124, allocations: 102.6 kB / 380.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2227/0.3466, allocations: 30.44 kB / 380.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3467, allocations: 1.953 kB / 380.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3467, allocations: 35.62 kB / 380.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.525e-06/0.3467, allocations: 0 / 380.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001318/0.3481, allocations: 0.528 MB / 380.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.3481, allocations: 53.45 kB / 380.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.3482, allocations: 128.7 kB / 381 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.3482, allocations: 27.11 kB / 381 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.3482, allocations: 105.6 kB / 381.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.3483, allocations: 47.56 kB / 381.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.3483, allocations: 30.16 kB / 381.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.3484, allocations: 322.8 kB / 381.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.3485, allocations: 28.14 kB / 381.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.831e-05/0.3485, allocations: 65.8 kB / 381.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3486, allocations: 98.66 kB / 381.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3487, allocations: 0 / 381.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001724/0.3488, allocations: 134.2 kB / 381.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3489, allocations: 11 kB / 381.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3489, allocations: 1.906 kB / 381.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3489, allocations: 5.844 kB / 381.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.349, allocations: 30.48 kB / 381.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3491, allocations: 3.562 kB / 381.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.3491, allocations: 8.312 kB / 381.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.3491, allocations: 4.188 kB / 381.9 MB, free: 12.05 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 6.767e-05/0.3492, allocations: 126.3 kB / 382 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3492, allocations: 9.109 kB / 382 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.3493, allocations: 14.11 kB / 382 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3493, allocations: 2.781 kB / 382 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3493, allocations: 4.125 kB / 382 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3493, allocations: 1.453 kB / 382 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.3498, allocations: 432.5 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3498, allocations: 1.375 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3499, allocations: 25.38 kB / 382.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3499, allocations: 1.375 kB / 382.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.35, allocations: 5.531 kB / 382.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.35, allocations: 5.344 kB / 382.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.35, allocations: 6.719 kB / 382.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.3502, allocations: 251.6 kB / 382.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.3502, allocations: 84.56 kB / 382.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3503, allocations: 2.078 kB / 382.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.3503, allocations: 8.219 kB / 382.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.3504, allocations: 10.55 kB / 382.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3504, allocations: 4 kB / 382.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.71e-05/0.3504, allocations: 99.94 kB / 382.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3504, allocations: 0 / 382.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.3507, allocations: 27.19 kB / 383 MB, free: 11.27 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 7.582e-05/0.3508, allocations: 101.2 kB / 383.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.3509, allocations: 82.53 kB / 383.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3509, allocations: 3.656 kB / 383.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.362e-05/0.351, allocations: 39.5 kB / 383.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3513, allocations: 19.94 kB / 383.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/0.3521, allocations: 480.7 kB / 383.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3522, allocations: 0.7052 MB / 384.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.3523, allocations: 13.59 kB / 384.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3523, allocations: 0.5625 kB / 384.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Templates: time 0.003519/0.3558, allocations: 1.425 MB / 385.8 MB, free: 10.04 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/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