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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 109.4 kB / 17.73 MB, free: 5.34 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.001929/0.001929, allocations: 188.2 kB / 18.66 MB, free: 4.41 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.289/1.289, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001372/0.001372, allocations: 51.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.09057, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003401/0.09402, allocations: 1.763 MB / 376.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.0953, allocations: 0.6902 MB / 377.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.09547, allocations: 3.938 kB / 377.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.09561, allocations: 15.86 kB / 377.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.362e-05/0.09572, allocations: 35.7 kB / 377.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.09599, allocations: 47.81 kB / 377.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.09619, allocations: 119.4 kB / 377.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.09632, allocations: 29.67 kB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.09641, allocations: 43.8 kB / 377.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.09652, allocations: 51.77 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.09655, allocations: 12 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.09664, allocations: 31.98 kB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.09667, allocations: 11.94 kB / 377.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.09673, allocations: 59.67 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.09695, allocations: 131.5 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09696, allocations: 0 / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09697, allocations: 0 / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.09698, allocations: 0 / 377.7 MB, free: 2.043 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.0005957/0.09758, allocations: 411.4 kB / 378.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.09763, allocations: 8.031 kB / 378.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.09768, allocations: 42.75 kB / 378.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.09789, allocations: 32.72 kB / 378.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.09816, allocations: 188.2 kB / 378.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.09818, allocations: 8.562 kB / 378.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.09822, allocations: 16.12 kB / 378.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.09843, allocations: 89.64 kB / 378.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.09845, allocations: 4 kB / 378.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.09847, allocations: 8 kB / 378.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.09848, allocations: 0 / 378.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.09862, allocations: 67.84 kB / 378.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.09931, allocations: 447.6 kB / 379 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.09958, allocations: 106.6 kB / 379.1 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.09965, allocations: 28.86 kB / 379.1 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.09967, allocations: 0 / 379.1 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.0997, allocations: 38.55 kB / 379.1 MB, free: 412 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.0997, allocations: 0 / 379.1 MB, free: 412 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.1713/0.271, allocations: 0.5221 MB / 379.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.2711, allocations: 56.22 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2712, allocations: 124.2 kB / 379.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2713, allocations: 32.86 kB / 379.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.2713, allocations: 102.9 kB / 380 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.2714, allocations: 46.17 kB / 380 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.2714, allocations: 27.03 kB / 380 MB, free: 12.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.2715, allocations: 324.1 kB / 380.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.2716, allocations: 29.31 kB / 380.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.058e-05/0.2716, allocations: 56.61 kB / 380.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.2718, allocations: 103.1 kB / 380.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2718, allocations: 1.375 kB / 380.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002237/0.272, allocations: 132.8 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.272, allocations: 6.031 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2721, allocations: 5.609 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.2721, allocations: 5.906 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2723, allocations: 32.44 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2723, allocations: 2.562 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.2724, allocations: 1.75 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2724, allocations: 10.75 kB / 380.7 MB, free: 12.16 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.303e-05/0.2725, allocations: 126.4 kB / 380.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.2725, allocations: 13.25 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.2725, allocations: 17.78 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2726, allocations: 1.531 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2726, allocations: 3.188 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2726, allocations: 2.531 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.2731, allocations: 424.5 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2731, allocations: 0.5 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.2733, allocations: 37.5 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2733, allocations: 3.531 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2733, allocations: 2.828 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2733, allocations: 1.312 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2733, allocations: 1.062 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.2736, allocations: 254.5 kB / 381.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.2736, allocations: 87.77 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.2737, allocations: 1.375 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.2738, allocations: 5.906 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.2738, allocations: 6.094 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2738, allocations: 4.484 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.924e-05/0.2738, allocations: 99.47 kB / 381.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2738, allocations: 1.375 kB / 381.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.2741, allocations: 24.25 kB / 381.8 MB, free: 11.39 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.000372/0.2745, allocations: 0.7899 MB / 382.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.2747, allocations: 84.58 kB / 382.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2747, allocations: 1.375 kB / 382.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.2747, allocations: 42.03 kB / 382.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.2751, allocations: 18.03 kB / 382.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.2768, allocations: 1.822 MB / 384.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.277, allocations: 0.7007 MB / 385.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.151e-05/0.2771, allocations: 12.73 kB / 385.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.2772, allocations: 27.34 kB / 385.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2772, allocations: 0 / 385.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.31, allocations: 2.622 MB / 387.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.612, allocations: 10.09 kB / 387.9 MB, free: 7.988 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > 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