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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000883/0.000883, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005139/0.005139, allocations: 163.8 kB / 24.69 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8807/0.8807, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.004e-05, allocations: 6.281 kB / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002098/0.002118, allocations: 1.72 MB / 300.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.003067, allocations: 0.6436 MB / 300.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.003145, allocations: 0 / 300.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.00327, allocations: 15.86 kB / 300.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.003334, allocations: 43.58 kB / 300.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.003574, allocations: 43.81 kB / 300.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.003711, allocations: 127.3 kB / 301 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.003827, allocations: 21.58 kB / 301 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.003897, allocations: 67.88 kB / 301.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.003984, allocations: 31.91 kB / 301.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.004006, allocations: 8 kB / 301.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.004086, allocations: 27.98 kB / 301.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.004109, allocations: 23.91 kB / 301.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.004144, allocations: 39.91 kB / 301.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.004336, allocations: 131.5 kB / 301.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.004338, allocations: 0 / 301.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.00434, allocations: 0 / 301.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.004346, allocations: 0 / 301.4 MB, free: 0.582 MB / 282.7 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.0004633/0.004809, allocations: 342 kB / 301.7 MB, free: 224 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.004858, allocations: 11.98 kB / 301.7 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.004902, allocations: 42.73 kB / 301.7 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.005052, allocations: 32.81 kB / 301.8 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1329/0.1379, allocations: 135.5 kB / 301.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1379, allocations: 7.516 kB / 301.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.138, allocations: 9.75 kB / 301.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1381, allocations: 94 kB / 302 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1382, allocations: 0.5 kB / 302 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1382, allocations: 7 kB / 302 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1382, allocations: 3.125 kB / 302 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1383, allocations: 60.28 kB / 302.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.1388, allocations: 397.3 kB / 302.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.139, allocations: 97.34 kB / 302.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.139, allocations: 30.48 kB / 302.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1391, allocations: 1.188 kB / 302.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.106e-05/0.1391, allocations: 35.44 kB / 302.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.1391, allocations: 1.969 kB / 302.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007713/0.1398, allocations: 389.4 kB / 303 MB, free: 13.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.1399, allocations: 54.08 kB / 303.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.1399, allocations: 124.3 kB / 303.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.1399, allocations: 29.58 kB / 303.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.14, allocations: 106 kB / 303.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.14, allocations: 51.84 kB / 303.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.14, allocations: 30.25 kB / 303.4 MB, free: 12.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.14, allocations: 324.1 kB / 303.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/0.1401, allocations: 30.75 kB / 303.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.1401, allocations: 58.91 kB / 303.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.857e-05/0.1402, allocations: 92.91 kB / 303.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1402, allocations: 1.938 kB / 303.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001282/0.1404, allocations: 136.3 kB / 304 MB, free: 12.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1404, allocations: 9.625 kB / 304 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1404, allocations: 5.219 kB / 304 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1404, allocations: 2.156 kB / 304 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.1405, allocations: 28.14 kB / 304.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1405, allocations: 2.75 kB / 304.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.1405, allocations: 7.156 kB / 304.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1405, allocations: 8.312 kB / 304.1 MB, free: 12.57 MB / 282.7 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 4.712e-05/0.1406, allocations: 123.5 kB / 304.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1406, allocations: 9.547 kB / 304.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.1406, allocations: 18.88 kB / 304.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1406, allocations: 1.125 kB / 304.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1406, allocations: 4.562 kB / 304.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1406, allocations: 1.359 kB / 304.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.141, allocations: 387.9 kB / 304.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.141, allocations: 1.703 kB / 304.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.771e-05/0.141, allocations: 29.34 kB / 304.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.141, allocations: 13.42 kB / 304.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1411, allocations: 0.9688 kB / 304.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1411, allocations: 9.859 kB / 304.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1411, allocations: 0 / 304.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.1412, allocations: 244.5 kB / 304.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.1412, allocations: 8.125 kB / 304.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1413, allocations: 7.062 kB / 304.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.1413, allocations: 8.781 kB / 304.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.1413, allocations: 8.156 kB / 305 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1413, allocations: 6.375 kB / 305 MB, free: 12.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.626e-05/0.1414, allocations: 92.08 kB / 305 MB, free: 11.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1414, allocations: 4.875 kB / 305.1 MB, free: 11.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.1415, allocations: 25.78 kB / 305.1 MB, free: 11.93 MB / 282.7 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.0002638/0.1418, allocations: 0.7782 MB / 305.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1419, allocations: 79.03 kB / 305.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1419, allocations: 0 / 305.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.142, allocations: 38.02 kB / 306 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1422, allocations: 19.95 kB / 306 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1433, allocations: 1.729 MB / 307.7 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.468e-05/0.1433, allocations: 102.5 kB / 307.8 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.1434, allocations: 13.91 kB / 307.8 MB, free: 9.738 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.1434, allocations: 36.78 kB / 307.9 MB, free: 9.711 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1434, allocations: 0 / 307.9 MB, free: 9.711 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.1621, allocations: 3.296 MB / 311.2 MB, free: 8.516 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/6.951, allocations: 5.375 kB / 311.2 MB, free: 8.512 MB / 282.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.527929697185755]