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.001605/0.001605, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001782/0.001782, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.536/1.536, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001324/0.001324, allocations: 47.92 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 46.61 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.004278/0.1302, allocations: 1.767 MB / 376.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1318, allocations: 0.6901 MB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.132, allocations: 0 / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.1322, allocations: 15.8 kB / 377.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1323, allocations: 35.7 kB / 377.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1327, allocations: 51.81 kB / 377.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1329, allocations: 123.4 kB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1331, allocations: 33.38 kB / 377.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.1332, allocations: 39.86 kB / 377.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1333, allocations: 51.72 kB / 377.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1333, allocations: 8 kB / 377.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1334, allocations: 24 kB / 378 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.1335, allocations: 23.91 kB / 378 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1336, allocations: 55.73 kB / 378 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1339, allocations: 127.6 kB / 378.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1339, allocations: 3.938 kB / 378.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1339, allocations: 0 / 378.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1339, allocations: 0 / 378.2 MB, free: 1.547 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.0006391/0.1346, allocations: 407.4 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1346, allocations: 11.89 kB / 378.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.1348, allocations: 32.73 kB / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1351, allocations: 200.1 kB / 378.8 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1352, allocations: 8.562 kB / 378.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.1352, allocations: 12.38 kB / 378.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1354, allocations: 89.59 kB / 378.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1354, allocations: 4 kB / 378.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1355, allocations: 8 kB / 378.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1355, allocations: 0 / 378.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1356, allocations: 59.97 kB / 379 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.1363, allocations: 455.5 kB / 379.4 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.1366, allocations: 106.5 kB / 379.5 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2875/0.4241, allocations: 32.84 kB / 379.6 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.4242, allocations: 0.7812 kB / 379.6 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.4242, allocations: 35.84 kB / 379.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 3.677e-06/0.4242, allocations: 0 / 379.6 MB, free: 13.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001592/0.4258, allocations: 0.5252 MB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.4259, allocations: 52.78 kB / 380.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.426, allocations: 125.7 kB / 380.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.426, allocations: 28.33 kB / 380.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.4261, allocations: 106.1 kB / 380.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.4261, allocations: 47.48 kB / 380.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.4262, allocations: 31.59 kB / 380.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.4262, allocations: 319.7 kB / 380.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.4263, allocations: 27.42 kB / 380.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.309e-05/0.4264, allocations: 61.92 kB / 380.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.4265, allocations: 102.3 kB / 381 MB, free: 12.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4266, allocations: 3.562 kB / 381 MB, free: 12.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002023/0.4268, allocations: 126.6 kB / 381.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4268, allocations: 12 kB / 381.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4268, allocations: 1.812 kB / 381.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4268, allocations: 6.375 kB / 381.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.427, allocations: 28.39 kB / 381.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.427, allocations: 3.078 kB / 381.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.4271, allocations: 5.375 kB / 381.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4271, allocations: 3.859 kB / 381.2 MB, free: 12.06 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 8.215e-05/0.4272, allocations: 133.2 kB / 381.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.4272, allocations: 8.031 kB / 381.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.4273, allocations: 13.81 kB / 381.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.4273, allocations: 3.688 kB / 381.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4273, allocations: 0 / 381.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4273, allocations: 0.8438 kB / 381.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/0.4279, allocations: 432.9 kB / 381.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4279, allocations: 1.375 kB / 381.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.428, allocations: 25.14 kB / 381.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.428, allocations: 6.875 kB / 381.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4281, allocations: 7.531 kB / 381.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4281, allocations: 1.375 kB / 381.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4281, allocations: 7.875 kB / 381.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.4283, allocations: 241.7 kB / 382 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.4284, allocations: 90.34 kB / 382.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.4284, allocations: 2.578 kB / 382.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.4285, allocations: 4.438 kB / 382.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.4285, allocations: 10.64 kB / 382.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4285, allocations: 7.609 kB / 382.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.633e-05/0.4286, allocations: 96.23 kB / 382.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.4286, allocations: 1.375 kB / 382.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.4289, allocations: 27.5 kB / 382.3 MB, free: 11.28 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.0001148/0.429, allocations: 102.5 kB / 382.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.4292, allocations: 81.77 kB / 382.5 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4292, allocations: 0 / 382.5 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.4293, allocations: 40.44 kB / 382.5 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.0003748/0.4297, allocations: 19.89 kB / 382.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.4305, allocations: 465.4 kB / 383 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.4307, allocations: 0.7018 MB / 383.7 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.4308, allocations: 12.02 kB / 383.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.4308, allocations: 12.94 kB / 383.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4308, allocations: 1.375 kB / 383.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of Templates: time 0.004712/0.4355, allocations: 1.119 MB / 384.8 MB, free: 10.09 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