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.001115/0.001116, allocations: 106.6 kB / 17.73 MB, free: 5.367 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.001318/0.001318, allocations: 187.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.306/1.306, 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.001299/0.001299, allocations: 51.92 kB / 328 MB, free: 3.836 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08726/0.08857, allocations: 46.62 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003373/0.09197, allocations: 1.774 MB / 376.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.09322, allocations: 0.6862 MB / 377.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.09338, allocations: 0 / 377.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.09357, allocations: 19.8 kB / 377.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.0937, allocations: 31.7 kB / 377.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.094, allocations: 51.8 kB / 377.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.09422, allocations: 123.4 kB / 377.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.09437, allocations: 29.67 kB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.09446, allocations: 47.8 kB / 377.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.09457, allocations: 51.77 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.0946, allocations: 8 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.09469, allocations: 27.98 kB / 377.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.09473, allocations: 15.94 kB / 377.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.0948, allocations: 51.73 kB / 377.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.09503, allocations: 131.5 kB / 377.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09504, allocations: 0 / 377.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.09505, allocations: 0 / 377.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.09507, allocations: 4 kB / 377.7 MB, free: 2.047 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.0005674/0.09565, allocations: 411.4 kB / 378.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.0957, allocations: 8.031 kB / 378.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.09575, allocations: 38.75 kB / 378.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.09595, allocations: 32.72 kB / 378.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.09622, allocations: 192.1 kB / 378.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.09624, allocations: 12.56 kB / 378.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.09628, allocations: 16.12 kB / 378.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.09648, allocations: 89.64 kB / 378.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.0965, allocations: 4 kB / 378.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.09652, allocations: 4 kB / 378.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.09654, allocations: 0 / 378.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.09668, allocations: 71.84 kB / 378.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.09738, allocations: 447.6 kB / 379 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.09766, allocations: 102.5 kB / 379.1 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.09773, allocations: 32.86 kB / 379.1 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.09775, allocations: 0 / 379.1 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.09778, allocations: 38.55 kB / 379.1 MB, free: 412 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.09779, allocations: 4 kB / 379.1 MB, free: 408 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.1664/0.2642, allocations: 0.5202 MB / 379.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.2643, allocations: 52.78 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.2644, allocations: 128.3 kB / 379.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.2644, allocations: 28.58 kB / 379.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.2644, allocations: 105.6 kB / 380 MB, free: 12.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2645, allocations: 44.5 kB / 380 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.2645, allocations: 34.38 kB / 380 MB, free: 12.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.2646, allocations: 320.5 kB / 380.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.124e-05/0.2647, allocations: 29.06 kB / 380.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.2647, allocations: 54.77 kB / 380.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2649, allocations: 106.7 kB / 380.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2649, allocations: 0 / 380.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001969/0.2651, allocations: 131.7 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2651, allocations: 12.75 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2651, allocations: 0.7031 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2651, allocations: 2.75 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.2653, allocations: 34.89 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2653, allocations: 1.891 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.2654, allocations: 6.125 kB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2654, allocations: 7.656 kB / 380.7 MB, free: 12.15 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.606e-05/0.2654, allocations: 129.4 kB / 380.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.2655, allocations: 15.8 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.2655, allocations: 14.27 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2655, allocations: 2.234 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2655, allocations: 0 / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2656, allocations: 4.719 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.266, allocations: 430.7 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2661, allocations: 0 / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.2662, allocations: 28.11 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2662, allocations: 0.8438 kB / 381.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.2662, allocations: 7.141 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2663, allocations: 1.375 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2663, allocations: 5.281 kB / 381.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.2665, allocations: 249.9 kB / 381.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.2665, allocations: 84.8 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.2666, allocations: 2.219 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.2666, allocations: 4.625 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.2667, allocations: 15.25 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2667, allocations: 5.938 kB / 381.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.637e-05/0.2667, allocations: 93.3 kB / 381.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2667, allocations: 0 / 381.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.267, allocations: 25.16 kB / 381.8 MB, free: 11.38 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.0003802/0.2674, allocations: 0.7913 MB / 382.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.2676, allocations: 80.67 kB / 382.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2676, allocations: 0 / 382.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.2676, allocations: 41.22 kB / 382.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.268, allocations: 20.64 kB / 382.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.2696, allocations: 1.815 MB / 384.6 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.2698, allocations: 0.7021 MB / 385.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.2698, allocations: 11.77 kB / 385.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.2699, allocations: 31.36 kB / 385.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2699, allocations: 0.7188 kB / 385.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.2918, allocations: 2.624 MB / 387.9 MB, free: 7.973 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.176, allocations: 1.25 kB / 387.9 MB, free: 7.973 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