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.0009068/0.0009068, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001058/0.001058, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8774/0.8774, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.246e-05, allocations: 3.266 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002541/0.002563, allocations: 1.953 MB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.003353, allocations: 0.6389 MB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.003443, allocations: 7.938 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.003557, allocations: 19.78 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.003626, allocations: 47.64 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.003886, allocations: 55.78 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.00404, allocations: 147.2 kB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.004166, allocations: 33 kB / 327.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.004257, allocations: 71.88 kB / 327.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.004328, allocations: 47.81 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.00435, allocations: 12 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-05/0.00442, allocations: 24 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.004442, allocations: 27.89 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.004478, allocations: 47.86 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.004665, allocations: 151.5 kB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004667, allocations: 0 / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004668, allocations: 0 / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.004672, allocations: 0 / 327.8 MB, free: 12.63 MB / 298.7 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.0004722/0.005144, allocations: 365.7 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.005182, allocations: 11.98 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.979e-05/0.005222, allocations: 38.75 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.005353, allocations: 32.86 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.005529, allocations: 146.1 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.005539, allocations: 8.375 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.005565, allocations: 12.38 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.005744, allocations: 110.2 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.005757, allocations: 7.938 kB / 328.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005768, allocations: 4 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.005773, allocations: 4 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.005923, allocations: 91.92 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.00647, allocations: 446.7 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.0067, allocations: 102.5 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.006764, allocations: 40.84 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.006776, allocations: 3.938 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.006794, allocations: 34.56 kB / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.006796, allocations: 0 / 329.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002729/0.007069, allocations: 157.6 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.007097, allocations: 51.41 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.007166, allocations: 137.1 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.007176, allocations: 33.64 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.007231, allocations: 120.2 kB / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.00725, allocations: 27.75 kB / 329.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.007289, allocations: 29.7 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.007371, allocations: 322.8 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.007435, allocations: 31.98 kB / 330.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.007512, allocations: 67.39 kB / 330.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.00766, allocations: 119.3 kB / 330.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007662, allocations: 0 / 330.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001785/0.00784, allocations: 145.4 kB / 330.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.007855, allocations: 7.938 kB / 330.4 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.00786, allocations: 0 / 330.4 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.007873, allocations: 4 kB / 330.4 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.00796, allocations: 40 kB / 330.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.007964, allocations: 0 / 330.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.008006, allocations: 15.94 kB / 330.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.008013, allocations: 4 kB / 330.5 MB, free: 9.695 MB / 298.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 (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 6.853e-05/0.008082, allocations: 125.8 kB / 330.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.0081, allocations: 15.84 kB / 330.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.008133, allocations: 20.72 kB / 330.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008135, allocations: 0 / 330.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.00814, allocations: 0 / 330.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008143, allocations: 0 / 330.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.00829, allocations: 184.6 kB / 330.8 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.008291, allocations: 0 / 330.8 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.008376, allocations: 31.98 kB / 330.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008378, allocations: 3.938 kB / 330.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.008388, allocations: 4.359 kB / 330.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.008389, allocations: 0 / 330.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00839, allocations: 0 / 330.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.008649, allocations: 259.3 kB / 331.1 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.008661, allocations: 15.91 kB / 331.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.008675, allocations: 3.938 kB / 331.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.008726, allocations: 8.031 kB / 331.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.00876, allocations: 11.98 kB / 331.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.008763, allocations: 0 / 331.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.008805, allocations: 99.27 kB / 331.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008805, allocations: 0 / 331.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.008975, allocations: 28 kB / 331.3 MB, free: 8.836 MB / 298.7 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.003386/0.01236, allocations: 0.801 MB / 332.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.01255, allocations: 91.92 kB / 332.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01255, allocations: 0 / 332.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/0.01261, allocations: 39.97 kB / 332.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01284, allocations: 23.53 kB / 332.2 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.01425, allocations: 1.792 MB / 334 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.01431, allocations: 93.92 kB / 334.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.481e-05/0.01436, allocations: 12.44 kB / 334.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/0.01442, allocations: 40.48 kB / 334.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01442, allocations: 0 / 334.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.03067, allocations: 3.451 MB / 337.6 MB, free: 2.469 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/6.855, allocations: 11.8 kB / 337.6 MB, free: 2.457 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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: 8.467527641914785]