Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 43.94 kB / 371.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2244, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002982/0.2273, allocations: 1.805 MB / 425.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009941/0.2283, allocations: 0.635 MB / 425.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.2284, allocations: 7.938 kB / 425.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.2285, allocations: 19.8 kB / 425.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.2286, allocations: 35.7 kB / 425.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.2288, allocations: 51.81 kB / 426 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.229, allocations: 123.4 kB / 426.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2291, allocations: 25.56 kB / 426.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.2292, allocations: 47.8 kB / 426.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.98e-05/0.2293, allocations: 43.84 kB / 426.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2293, allocations: 8 kB / 426.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.2294, allocations: 23.98 kB / 426.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.2294, allocations: 31.91 kB / 426.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.2294, allocations: 47.73 kB / 426.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.2297, allocations: 136.2 kB / 426.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2297, allocations: 0 / 426.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2297, allocations: 0 / 426.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2297, allocations: 0 / 426.4 MB, free: 11.54 MB / 334.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.0005058/0.2302, allocations: 334 kB / 426.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2302, allocations: 12.03 kB / 426.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.247e-05/0.2302, allocations: 8.359 kB / 426.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.2303, allocations: 42.73 kB / 426.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.2304, allocations: 28.83 kB / 426.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.2306, allocations: 138.3 kB / 427 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2306, allocations: 8.312 kB / 427 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.2307, allocations: 12 kB / 427 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.2309, allocations: 93.64 kB / 427.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2309, allocations: 8 kB / 427.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2309, allocations: 0 / 427.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2309, allocations: 0 / 427.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.231, allocations: 71.84 kB / 427.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.2317, allocations: 410.8 kB / 427.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.2319, allocations: 98.58 kB / 427.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.232, allocations: 40.78 kB / 427.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.232, allocations: 0 / 427.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.232, allocations: 38.55 kB / 427.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.232, allocations: 0 / 427.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001202/0.2332, allocations: 385.1 kB / 428.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2333, allocations: 55.34 kB / 428.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2334, allocations: 133.2 kB / 428.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2334, allocations: 29.7 kB / 428.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.2335, allocations: 104 kB / 428.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.2335, allocations: 47.59 kB / 428.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.2336, allocations: 29.72 kB / 428.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.2337, allocations: 318.8 kB / 428.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.2338, allocations: 31.98 kB / 428.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.2338, allocations: 58.86 kB / 428.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.234, allocations: 99.36 kB / 429 MB, free: 8.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.234, allocations: 0 / 429 MB, free: 8.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00019/0.2342, allocations: 130.4 kB / 429.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2342, allocations: 7.984 kB / 429.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2342, allocations: 4 kB / 429.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2342, allocations: 0 / 429.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.2343, allocations: 47.86 kB / 429.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2343, allocations: 0 / 429.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.2344, allocations: 4 kB / 429.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2344, allocations: 4 kB / 429.2 MB, free: 8.523 MB / 334.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 9.283e-05/0.2345, allocations: 129.7 kB / 429.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.2345, allocations: 7.953 kB / 429.3 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.2346, allocations: 12.38 kB / 429.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.2346, allocations: 7.938 kB / 429.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2346, allocations: 0 / 429.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.2346, allocations: 7.984 kB / 429.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.2351, allocations: 391.2 kB / 429.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2351, allocations: 3.938 kB / 429.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.2353, allocations: 31.92 kB / 429.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2353, allocations: 3.938 kB / 429.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2353, allocations: 4 kB / 429.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2353, allocations: 8.062 kB / 429.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2353, allocations: 0 / 429.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.2356, allocations: 241.1 kB / 430 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.2356, allocations: 15.92 kB / 430 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2356, allocations: 4 kB / 430.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.2357, allocations: 4 kB / 430.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.2357, allocations: 7.984 kB / 430.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.2357, allocations: 8 kB / 430.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.2358, allocations: 95.27 kB / 430.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2358, allocations: 0 / 430.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000244/0.236, allocations: 24 kB / 430.2 MB, free: 7.449 MB / 334.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.0005428/0.2366, allocations: 0.7923 MB / 431 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.2367, allocations: 75.92 kB / 431.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.2367, allocations: 4 kB / 431.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.864e-05/0.2368, allocations: 43.89 kB / 431.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.2371, allocations: 20.56 kB / 431.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.239, allocations: 1.832 MB / 433 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.2393, allocations: 0.7079 MB / 433.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.2394, allocations: 12.97 kB / 433.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.2394, allocations: 27.42 kB / 433.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2394, allocations: 0 / 433.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.2629, allocations: 2.796 MB / 436.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.77, allocations: 14.84 kB / 436.5 MB, free: 1.117 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.00517098500859]