Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 55.91 kB / 378.5 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2472, allocations: 53.4 MB / 431.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00323/0.2504, allocations: 2.018 MB / 434 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2515, allocations: 0.709 MB / 434.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.2516, allocations: 0 / 434.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.2517, allocations: 19.8 kB / 434.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.995e-05/0.2518, allocations: 47.62 kB / 434.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.252, allocations: 55.78 kB / 434.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.2522, allocations: 143.3 kB / 434.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2524, allocations: 21.3 kB / 435 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.2525, allocations: 55.73 kB / 435 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.2526, allocations: 63.75 kB / 435.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.2526, allocations: 12 kB / 435.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.2527, allocations: 27.98 kB / 435.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.2527, allocations: 19.92 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.2527, allocations: 67.67 kB / 435.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.253, allocations: 148.2 kB / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.253, allocations: 0 / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.253, allocations: 0 / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.253, allocations: 0 / 435.3 MB, free: 3.309 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005902/0.2536, allocations: 365.7 kB / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2536, allocations: 12.03 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.283e-05/0.2536, allocations: 4.188 kB / 435.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.2537, allocations: 42.73 kB / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.2538, allocations: 28.88 kB / 435.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.254, allocations: 142.3 kB / 435.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.254, allocations: 8.375 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.2541, allocations: 15.94 kB / 435.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.2543, allocations: 106.3 kB / 436.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2544, allocations: 15.92 kB / 436.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2544, allocations: 4 kB / 436.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2544, allocations: 4 kB / 436.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.2546, allocations: 91.88 kB / 436.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/0.2555, allocations: 474.4 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.2558, allocations: 102.4 kB / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.2559, allocations: 44.88 kB / 436.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.2559, allocations: 3.938 kB / 436.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2559, allocations: 34.56 kB / 436.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2559, allocations: 0 / 436.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004283/0.2563, allocations: 149.7 kB / 437 MB, free: 1.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2564, allocations: 55.41 kB / 437 MB, free: 1.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2565, allocations: 128.3 kB / 437.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2565, allocations: 33.7 kB / 437.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.2566, allocations: 120.2 kB / 437.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.2566, allocations: 31.7 kB / 437.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.2567, allocations: 29.7 kB / 437.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2568, allocations: 322.8 kB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.2569, allocations: 39.98 kB / 437.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2571, allocations: 75.33 kB / 437.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.2573, allocations: 103.3 kB / 437.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2573, allocations: 3.938 kB / 437.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003145/0.2576, allocations: 153.4 kB / 438 MB, free: 408 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2576, allocations: 4 kB / 438 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2576, allocations: 4 kB / 438 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2576, allocations: 0 / 438 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.2578, allocations: 31.97 kB / 438.1 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2578, allocations: 4 kB / 438.1 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.2579, allocations: 4 kB / 438.1 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2579, allocations: 8 kB / 438.1 MB, free: 352 kB / 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 (14): * Single equations (assignments): 14 * 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.772e-05/0.258, allocations: 129.8 kB / 438.2 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.258, allocations: 19.94 kB / 438.2 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.2581, allocations: 8.719 kB / 438.2 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2581, allocations: 4 kB / 438.2 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2581, allocations: 0 / 438.2 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2581, allocations: 0 / 438.2 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2583, allocations: 196.5 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2583, allocations: 0 / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.2585, allocations: 27.98 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2585, allocations: 4 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2585, allocations: 384 / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2585, allocations: 0 / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2585, allocations: 3.938 kB / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.2589, allocations: 271.3 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.259, allocations: 7.953 kB / 438.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.259, allocations: 4 kB / 438.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.2591, allocations: 12.03 kB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.2591, allocations: 7.984 kB / 438.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2591, allocations: 0 / 438.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.843e-05/0.2592, allocations: 105.9 kB / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2592, allocations: 0 / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000242/0.2595, allocations: 27.95 kB / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (9): * Single equations (assignments): 9 * 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.0007437/0.2602, allocations: 0.7981 MB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.2605, allocations: 83.94 kB / 439.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.2605, allocations: 192 / 439.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.2606, allocations: 51.91 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2609, allocations: 20.36 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.2631, allocations: 1.885 MB / 441.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2635, allocations: 0.708 MB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.2635, allocations: 12.34 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.2636, allocations: 35.42 kB / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2636, allocations: 0 / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.288, allocations: 2.916 MB / 445.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.71, allocations: 7.922 kB / 445.4 MB, free: 8.93 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.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.013954098976683]