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.00137/0.00137, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001607/0.001607, allocations: 162.3 kB / 24.99 MB, free: 8.801 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 1.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.609 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: 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.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.195e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002279/0.002301, allocations: 2.018 MB / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.003154, allocations: 0.6779 MB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.003239, allocations: 4 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.003355, allocations: 19.73 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.003426, allocations: 47.67 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.003665, allocations: 59.67 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003828, allocations: 147.2 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.003946, allocations: 21.3 kB / 276 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.004058, allocations: 91.73 kB / 276.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.004133, allocations: 35.91 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.004154, allocations: 8 kB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.004222, allocations: 31.97 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.004244, allocations: 23.86 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.004285, allocations: 43.91 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.004471, allocations: 115.6 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004473, allocations: 0 / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004474, allocations: 0 / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004478, allocations: 0 / 276.3 MB, free: 14.44 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.0004894/0.004967, allocations: 468 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.005002, allocations: 11.98 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.00517, allocations: 40.83 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.005336, allocations: 151.1 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.005347, allocations: 4.375 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.005373, allocations: 12.38 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.00557, allocations: 110.8 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.005581, allocations: 4.125 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.005594, allocations: 7.938 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.005603, allocations: 4 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.595e-05/0.005689, allocations: 47.89 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.006268, allocations: 470.4 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.006458, allocations: 75.25 kB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.006495, allocations: 27.66 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.006504, allocations: 8 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.006524, allocations: 33.39 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.006525, allocations: 0 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001875/0.006713, allocations: 93.45 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.076e-05/0.006803, allocations: 55.41 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.00689, allocations: 193 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.006901, allocations: 29.7 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.006971, allocations: 166.9 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.006993, allocations: 35.69 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.00703, allocations: 31.38 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.007144, allocations: 0.4923 MB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.462e-05/0.007178, allocations: 15.98 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.081e-05/0.007229, allocations: 54.73 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.032e-05/0.007309, allocations: 74.62 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.007312, allocations: 0 / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001239/0.007436, allocations: 113.4 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.007448, allocations: 4 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.007454, allocations: 8.094 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.007467, allocations: 3.938 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.007558, allocations: 27.98 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.007563, allocations: 0 / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.007603, allocations: 15.83 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.007609, allocations: 8 kB / 279.2 MB, free: 11.34 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 6.759e-05/0.007677, allocations: 164.6 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.007698, allocations: 11.95 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.007725, allocations: 12.78 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.007729, allocations: 7.938 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.007732, allocations: 4 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007736, allocations: 0 / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.007856, allocations: 144.6 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007858, allocations: 0 / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.007956, allocations: 23.98 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007958, allocations: 0 / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.00797, allocations: 11.92 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007972, allocations: 0 / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.007977, allocations: 15.92 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.008298, allocations: 243.8 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.008311, allocations: 19.83 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.008326, allocations: 4 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.008375, allocations: 4 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.008411, allocations: 11.92 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.008415, allocations: 0 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.008464, allocations: 150 kB / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008464, allocations: 0 / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.008631, allocations: 24 kB / 280 MB, free: 10.45 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 7.947e-05/0.008711, allocations: 99.25 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.008838, allocations: 59.59 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.00884, allocations: 0 / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.681e-05/0.008877, allocations: 31.62 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.009116, allocations: 19.94 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.009887, allocations: 394 kB / 280.6 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.009926, allocations: 67.34 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.009969, allocations: 16.47 kB / 280.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.009999, allocations: 12.5 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009999, allocations: 0 / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of Templates: time 0.002934/0.01293, allocations: 1.232 MB / 281.9 MB, free: 8.496 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7408545948565006]