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.002512/0.002512, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002171/0.002171, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 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 1.525/1.525, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentTorque.lossPower|inertia.phi|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.741e-05, allocations: 2.312 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.005946/0.005984, allocations: 1.994 MB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.008064, allocations: 0.6741 MB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.008177, allocations: 3.938 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.00835, allocations: 11.86 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.008518, allocations: 51.56 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.008887, allocations: 55.73 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.009246, allocations: 155.2 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.009391, allocations: 21.3 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.009604, allocations: 79.8 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.009761, allocations: 47.89 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.009797, allocations: 8 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.009911, allocations: 23.98 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.00996, allocations: 23.92 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.01008, allocations: 47.84 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.01049, allocations: 155.5 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01049, allocations: 0 / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01049, allocations: 0 / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.0105, allocations: 0 / 275.5 MB, free: 14.47 MB / 266.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.001132/0.01163, allocations: 475.6 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.01168, allocations: 11.98 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.01206, allocations: 36.88 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.01241, allocations: 151.2 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.01243, allocations: 8.375 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.01247, allocations: 8.375 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.0129, allocations: 106.1 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.01292, allocations: 4.188 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.01295, allocations: 11.94 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.01296, allocations: 4 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.01338, allocations: 75.89 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.01496, allocations: 0.4984 MB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.01548, allocations: 103 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.01567, allocations: 39.72 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01569, allocations: 4 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.01574, allocations: 33.39 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.01574, allocations: 0 / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007211/0.01646, allocations: 141.9 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.01653, allocations: 55.41 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.01706, allocations: 205.8 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.0171, allocations: 25.7 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.01729, allocations: 166.9 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.01735, allocations: 31.73 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.01746, allocations: 47.33 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004157/0.01788, allocations: 0.4923 MB / 278.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.01807, allocations: 31.98 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.0183, allocations: 70.73 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.01873, allocations: 106.7 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01873, allocations: 4 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005378/0.01927, allocations: 145.5 kB / 278.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.01929, allocations: 6.812 kB / 278.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.0193, allocations: 0 / 278.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.01933, allocations: 7.938 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.01962, allocations: 31.92 kB / 278.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01963, allocations: 0 / 278.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.01978, allocations: 11.89 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.0198, allocations: 8 kB / 278.6 MB, free: 11.11 MB / 266.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 0.0002098/0.02001, allocations: 164.7 kB / 278.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.02009, allocations: 19.89 kB / 278.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.49e-05/0.02016, allocations: 16.77 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.02017, allocations: 3.938 kB / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.02018, allocations: 0 / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.02018, allocations: 0 / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.02059, allocations: 164.6 kB / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.02059, allocations: 0 / 279 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.0209, allocations: 23.98 kB / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.0209, allocations: 0 / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.02092, allocations: 0 / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.02092, allocations: 8 kB / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.02093, allocations: 3.938 kB / 279 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.0217, allocations: 299.7 kB / 279.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.02173, allocations: 11.89 kB / 279.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.02176, allocations: 0 / 279.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.02194, allocations: 12 kB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.02201, allocations: 11.86 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.02203, allocations: 4 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.02221, allocations: 147.2 kB / 279.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.02221, allocations: 8 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.0227, allocations: 24 kB / 279.5 MB, free: 10.14 MB / 266.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.0001909/0.02289, allocations: 99.19 kB / 279.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.0234, allocations: 95.58 kB / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0234, allocations: 0 / 279.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.02362, allocations: 47.61 kB / 279.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.02419, allocations: 26.33 kB / 279.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.02548, allocations: 393.8 kB / 280.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.02564, allocations: 93.31 kB / 280.3 MB, free: 9.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.02573, allocations: 8.484 kB / 280.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.0258, allocations: 12.5 kB / 280.3 MB, free: 9.324 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0258, allocations: 4 kB / 280.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of Templates: time 0.007873/0.03367, allocations: 1.223 MB / 281.5 MB, free: 8.125 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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: 4.412143036024645]