Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.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.00185/0.00185, allocations: 69.8 kB / 21.24 MB, free: 0.5547 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.002116/0.002116, allocations: 151.6 kB / 24.49 MB, free: 3.727 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.411/1.411, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 46.67 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.0911, allocations: 52.16 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003/0.0941, allocations: 1.726 MB / 373.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.09513, allocations: 0.5805 MB / 373.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.09521, allocations: 3.938 kB / 373.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.09532, allocations: 19.86 kB / 373.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.477e-05/0.0954, allocations: 39.69 kB / 373.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.09563, allocations: 47.83 kB / 374 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.09581, allocations: 119.4 kB / 374.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.09592, allocations: 31.95 kB / 374.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.096, allocations: 43.8 kB / 374.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.09609, allocations: 39.84 kB / 374.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.09611, allocations: 8 kB / 374.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.09618, allocations: 20 kB / 374.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.09621, allocations: 27.91 kB / 374.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.09628, allocations: 43.8 kB / 374.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.09651, allocations: 127.5 kB / 374.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.09651, allocations: 4 kB / 374.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09651, allocations: 0 / 374.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.09652, allocations: 0 / 374.4 MB, free: 4.457 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.0005612/0.09708, allocations: 330 kB / 374.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.09711, allocations: 8.031 kB / 374.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.0973, allocations: 28.88 kB / 374.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.09753, allocations: 142.3 kB / 374.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.09755, allocations: 4.562 kB / 374.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.09757, allocations: 16.33 kB / 374.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.09777, allocations: 93.59 kB / 375 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.09778, allocations: 0 / 375 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.0978, allocations: 4 kB / 375 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.0978, allocations: 4 kB / 375 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.09793, allocations: 55.91 kB / 375.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.09862, allocations: 391.5 kB / 375.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.09887, allocations: 82.58 kB / 375.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.09892, allocations: 24.89 kB / 375.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.09893, allocations: 3.938 kB / 375.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.09896, allocations: 38.56 kB / 375.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.09896, allocations: 0 / 375.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002283/0.09919, allocations: 89.61 kB / 375.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.09923, allocations: 59.41 kB / 375.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.09936, allocations: 137.6 kB / 375.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.09938, allocations: 29.7 kB / 375.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.09945, allocations: 104 kB / 376 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.09949, allocations: 39.69 kB / 376.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.09954, allocations: 21.72 kB / 376.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.09968, allocations: 318.8 kB / 376.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.09972, allocations: 24 kB / 376.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.09979, allocations: 51.42 kB / 376.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.09992, allocations: 91.44 kB / 376.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.09993, allocations: 0 / 376.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001737/0.1001, allocations: 109.6 kB / 376.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1001, allocations: 6.812 kB / 376.7 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1001, allocations: 0 / 376.7 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1001, allocations: 4 kB / 376.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1002, allocations: 27.92 kB / 376.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1003, allocations: 0 / 376.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.1003, allocations: 11.88 kB / 376.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1003, allocations: 8.094 kB / 376.7 MB, free: 1.949 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 (13): * Single equations (assignments): 13 * 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.174e-05/0.1004, allocations: 117.8 kB / 376.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1005, allocations: 7.953 kB / 376.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.1005, allocations: 16.42 kB / 376.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1005, allocations: 4.094 kB / 376.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1005, allocations: 7.875 kB / 376.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1005, allocations: 3.938 kB / 376.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.1007, allocations: 129.3 kB / 377 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1007, allocations: 0 / 377 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.1008, allocations: 20 kB / 377 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1008, allocations: 4 kB / 377 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1008, allocations: 3.984 kB / 377 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1008, allocations: 0 / 377 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1008, allocations: 0 / 377 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.1011, allocations: 215.4 kB / 377.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.1011, allocations: 11.88 kB / 377.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1011, allocations: 0 / 377.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.1012, allocations: 4 kB / 377.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.1012, allocations: 11.97 kB / 377.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1012, allocations: 0 / 377.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.905e-05/0.1013, allocations: 95.2 kB / 377.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1013, allocations: 8 kB / 377.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1016, allocations: 27.95 kB / 377.4 MB, free: 1.215 MB / 334.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 (8): * Single equations (assignments): 8 * 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 8.691e-05/0.1016, allocations: 94.38 kB / 377.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1018, allocations: 59.92 kB / 377.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1018, allocations: 0 / 377.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.1018, allocations: 27.92 kB / 377.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1022, allocations: 20 kB / 377.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.1029, allocations: 428 kB / 378 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.451e-05/0.103, allocations: 84.31 kB / 378.1 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.313e-05/0.1031, allocations: 8.5 kB / 378.1 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1031, allocations: 12.5 kB / 378.1 MB, free: 448 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1031, allocations: 0 / 378.1 MB, free: 448 kB / 334.1 MB Notification: Performance of Templates: time 0.00353/0.1066, allocations: 0.9198 MB / 379 MB, free: 15.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.09626359899994]