Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.001898/0.001898, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002454/0.002454, allocations: 165.3 kB / 24.5 MB, free: 3.453 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.471/1.471, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.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: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 61.84 kB / 325.5 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09867, allocations: 53.39 MB / 378.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00347/0.1021, allocations: 1.966 MB / 380.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1033, allocations: 0.639 MB / 381.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.1034, allocations: 3.938 kB / 381.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.1035, allocations: 19.8 kB / 381.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.185e-05/0.1036, allocations: 43.62 kB / 381.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1039, allocations: 51.86 kB / 381.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.1041, allocations: 155.2 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1042, allocations: 13.31 kB / 381.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1043, allocations: 67.77 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.1044, allocations: 47.7 kB / 381.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1045, allocations: 12 kB / 381.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.1045, allocations: 27.98 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.1046, allocations: 23.92 kB / 382 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.1046, allocations: 47.8 kB / 382 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1049, allocations: 163.3 kB / 382.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1049, allocations: 3.938 kB / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1049, allocations: 4 kB / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1049, allocations: 0 / 382.2 MB, free: 12.25 MB / 350.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.000698/0.1056, allocations: 361.7 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1056, allocations: 11.98 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.1058, allocations: 28.83 kB / 382.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1061, allocations: 150.3 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1061, allocations: 8.375 kB / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.1061, allocations: 16.31 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1064, allocations: 121.5 kB / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1064, allocations: 3.953 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1065, allocations: 4 kB / 382.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1065, allocations: 7.938 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.1068, allocations: 84.59 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008133/0.1076, allocations: 411.3 kB / 383.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.1079, allocations: 118.5 kB / 383.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1081, allocations: 44.83 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1081, allocations: 0 / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1081, allocations: 34.56 kB / 383.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.916e-06/0.1081, allocations: 4 kB / 383.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001045/0.1092, allocations: 417.3 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1092, allocations: 55.41 kB / 384 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1093, allocations: 133.2 kB / 384.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1093, allocations: 29.7 kB / 384.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.1094, allocations: 112.2 kB / 384.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.1095, allocations: 59.53 kB / 384.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.1095, allocations: 29.7 kB / 384.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1097, allocations: 326.8 kB / 384.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1098, allocations: 43.88 kB / 384.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.11, allocations: 75.34 kB / 384.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.1102, allocations: 119.4 kB / 384.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1102, allocations: 4 kB / 384.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003679/0.1106, allocations: 165.5 kB / 385.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1106, allocations: 4 kB / 385.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1106, allocations: 3.938 kB / 385.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1107, allocations: 4 kB / 385.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1108, allocations: 39.97 kB / 385.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1108, allocations: 7.938 kB / 385.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1109, allocations: 16.05 kB / 385.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.111, allocations: 4 kB / 385.2 MB, free: 9.031 MB / 350.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 (18): * Single equations (assignments): 18 * 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.0001163/0.1111, allocations: 121.8 kB / 385.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1111, allocations: 11.91 kB / 385.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.1112, allocations: 20.72 kB / 385.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1112, allocations: 4 kB / 385.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1112, allocations: 0 / 385.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1112, allocations: 3.984 kB / 385.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.1119, allocations: 407.8 kB / 385.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1119, allocations: 4 kB / 385.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.1121, allocations: 31.97 kB / 385.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1121, allocations: 4 kB / 385.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1121, allocations: 0 / 385.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1121, allocations: 4 kB / 385.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1121, allocations: 3.938 kB / 385.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.1126, allocations: 313 kB / 386.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.1127, allocations: 7.953 kB / 386.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1127, allocations: 8.031 kB / 386.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1128, allocations: 8 kB / 386.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.1129, allocations: 7.984 kB / 386.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1129, allocations: 7.938 kB / 386.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.1129, allocations: 103.2 kB / 386.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1129, allocations: 0 / 386.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1132, allocations: 32 kB / 386.2 MB, free: 7.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,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 (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 Backend phase and start with SimCode phase: time 0.0001067/0.1133, allocations: 103.2 kB / 386.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.1137, allocations: 111.4 kB / 386.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1137, allocations: 0 / 386.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1138, allocations: 55.91 kB / 386.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1141, allocations: 31.3 kB / 386.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.115, allocations: 486.9 kB / 387 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.1151, allocations: 98.28 kB / 387.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.1152, allocations: 12.42 kB / 387.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.1152, allocations: 20.5 kB / 387.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1152, allocations: 0 / 387.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of Templates: time 0.004421/0.1197, allocations: 1.42 MB / 388.6 MB, free: 5.527 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.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.3175342350732535]