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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008301/0.0008301, allocations: 95.09 kB / 18.01 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 204.4 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 247.5 MB, free: 9.664 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002488, allocations: 7.938 kB / 308.4 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00236/0.1032, allocations: 1.702 MB / 361.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1044, allocations: 0.6857 MB / 362.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1045, allocations: 0 / 362.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.1047, allocations: 15.86 kB / 362.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1048, allocations: 39.7 kB / 362.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.105, allocations: 51.86 kB / 362.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1052, allocations: 139.3 kB / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1054, allocations: 33.08 kB / 362.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.1055, allocations: 51.73 kB / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/0.1056, allocations: 55.75 kB / 362.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.1056, allocations: 8 kB / 362.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1057, allocations: 23.98 kB / 362.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.1058, allocations: 23.86 kB / 362.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.1059, allocations: 77.44 kB / 362.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.106, allocations: 100 kB / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.106, allocations: 0 / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.106, allocations: 0 / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1061, allocations: 3.938 kB / 362.9 MB, free: 10.05 MB / 302.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.0006726/0.1067, allocations: 435 kB / 363.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1068, allocations: 8.031 kB / 363.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.107, allocations: 28.83 kB / 363.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1072, allocations: 200 kB / 363.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1072, allocations: 8.375 kB / 363.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1073, allocations: 16.38 kB / 363.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.1076, allocations: 118.7 kB / 363.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1076, allocations: 0 / 363.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1076, allocations: 8 kB / 363.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1076, allocations: 0 / 363.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.108, allocations: 115.9 kB / 363.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.1088, allocations: 491.4 kB / 364.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.1092, allocations: 126.5 kB / 364.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1094, allocations: 56.88 kB / 364.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1094, allocations: 4 kB / 364.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1094, allocations: 34.56 kB / 364.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.1094, allocations: 0 / 364.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001121/0.1105, allocations: 0.505 MB / 365 MB, free: 7.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1106, allocations: 55.34 kB / 365.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1107, allocations: 144.7 kB / 365.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1107, allocations: 25.7 kB / 365.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.1108, allocations: 116.1 kB / 365.4 MB, free: 7.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.1109, allocations: 51.28 kB / 365.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.1109, allocations: 17.72 kB / 365.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.111, allocations: 322.8 kB / 365.7 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1112, allocations: 51.97 kB / 365.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1113, allocations: 86.36 kB / 365.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.1116, allocations: 127.3 kB / 366 MB, free: 6.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1116, allocations: 0 / 366 MB, free: 6.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003671/0.112, allocations: 181.5 kB / 366.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1121, allocations: 7.938 kB / 366.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1121, allocations: 0 / 366.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1121, allocations: 4 kB / 366.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.1123, allocations: 39.92 kB / 366.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1123, allocations: 4 kB / 366.2 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1124, allocations: 23.98 kB / 366.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1124, allocations: 4 kB / 366.3 MB, free: 6.398 MB / 302.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 9.797e-05/0.1125, allocations: 130.4 kB / 366.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1126, allocations: 15.75 kB / 366.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.1126, allocations: 24.83 kB / 366.4 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1126, allocations: 0 / 366.4 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1126, allocations: 0 / 366.4 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1127, allocations: 4 kB / 366.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.1134, allocations: 476.1 kB / 366.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.1134, allocations: 4 kB / 366.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.1136, allocations: 35.97 kB / 366.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1136, allocations: 0 / 366.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1136, allocations: 8 kB / 366.9 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1136, allocations: 3.938 kB / 366.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1136, allocations: 0 / 366.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.1142, allocations: 331.2 kB / 367.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.1143, allocations: 89.02 kB / 367.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1143, allocations: 4 kB / 367.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1144, allocations: 12.03 kB / 367.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.1145, allocations: 7.984 kB / 367.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1145, allocations: 8 kB / 367.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.207e-05/0.1146, allocations: 103.3 kB / 367.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1146, allocations: 3.938 kB / 367.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1149, allocations: 28 kB / 367.5 MB, free: 5.031 MB / 302.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.0001213/0.115, allocations: 107.2 kB / 367.6 MB, free: 4.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.1154, allocations: 124 kB / 367.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1154, allocations: 8.062 kB / 367.8 MB, free: 4.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1155, allocations: 59.91 kB / 367.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1159, allocations: 24.08 kB / 367.8 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008734/0.1168, allocations: 0.6326 MB / 368.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1171, allocations: 0.716 MB / 369.2 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1171, allocations: 11.44 kB / 369.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1171, allocations: 0 / 369.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of Templates: time 0.003468/0.1206, allocations: 1.655 MB / 370.8 MB, free: 1.629 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) "" Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:eddyCurrentForce.lossPower,heatCapacitor.T,mass.s,time