Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.486/1.486, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 59.14 kB / 307.9 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1062, allocations: 50.55 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003889/0.1101, allocations: 1.969 MB / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1114, allocations: 0.7012 MB / 361.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1115, allocations: 4 kB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1117, allocations: 19.8 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.946e-05/0.1118, allocations: 43.62 kB / 361.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.112, allocations: 55.81 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1123, allocations: 143.3 kB / 361.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1124, allocations: 37.08 kB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1125, allocations: 55.72 kB / 361.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1127, allocations: 59.77 kB / 361.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1127, allocations: 15.94 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.731e-05/0.1128, allocations: 27.98 kB / 361.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.1128, allocations: 19.92 kB / 361.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.1129, allocations: 67.67 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1132, allocations: 139.8 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1132, allocations: 0 / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.1132, allocations: 0 / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1132, allocations: 7.938 kB / 361.8 MB, free: 10.54 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.0007198/0.1139, allocations: 435 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.114, allocations: 8.031 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.1142, allocations: 28.73 kB / 362.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1144, allocations: 200.1 kB / 362.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1144, allocations: 8.375 kB / 362.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.1145, allocations: 12.38 kB / 362.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.1148, allocations: 117.5 kB / 362.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1148, allocations: 4 kB / 362.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1148, allocations: 4 kB / 362.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1149, allocations: 4 kB / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.1152, allocations: 95.86 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009467/0.1161, allocations: 0.5165 MB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.1165, allocations: 106.5 kB / 363.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.1166, allocations: 40.88 kB / 363.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1166, allocations: 8.125 kB / 363.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1167, allocations: 34.5 kB / 363.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1167, allocations: 0 / 363.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004829/0.1172, allocations: 149.5 kB / 363.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1172, allocations: 51.41 kB / 363.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1174, allocations: 136.2 kB / 363.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1174, allocations: 33.7 kB / 363.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.1175, allocations: 108.2 kB / 363.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.1176, allocations: 39.45 kB / 363.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.1176, allocations: 26.09 kB / 363.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1178, allocations: 322.8 kB / 364.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.1179, allocations: 35.97 kB / 364.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1181, allocations: 74.91 kB / 364.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1184, allocations: 115.2 kB / 364.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1184, allocations: 4 kB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003529/0.1187, allocations: 149.4 kB / 364.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1188, allocations: 4 kB / 364.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1188, allocations: 4 kB / 364.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1188, allocations: 0 / 364.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.119, allocations: 27.98 kB / 364.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.119, allocations: 4 kB / 364.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1191, allocations: 19.92 kB / 364.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1191, allocations: 8 kB / 364.7 MB, free: 7.395 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 (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.0001176/0.1192, allocations: 121.8 kB / 364.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.1193, allocations: 15.84 kB / 364.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.1193, allocations: 16.7 kB / 364.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1193, allocations: 0 / 364.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1194, allocations: 4 kB / 364.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1194, allocations: 0 / 364.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.1196, allocations: 209.5 kB / 365 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1196, allocations: 3.938 kB / 365 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.1198, allocations: 31.98 kB / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1198, allocations: 0 / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1199, allocations: 0 / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1199, allocations: 0 / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1199, allocations: 0 / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.1204, allocations: 267.2 kB / 365.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.1204, allocations: 84.95 kB / 365.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1205, allocations: 8 kB / 365.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1206, allocations: 8.031 kB / 365.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1206, allocations: 4 kB / 365.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1207, allocations: 0 / 365.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.191e-05/0.1207, allocations: 109.2 kB / 365.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1208, allocations: 4 kB / 365.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.121, allocations: 27.91 kB / 365.6 MB, free: 6.406 MB / 302.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 (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.0001332/0.1212, allocations: 99.25 kB / 365.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1215, allocations: 99.91 kB / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1215, allocations: 0 / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1217, allocations: 47.92 kB / 365.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.122, allocations: 26.84 kB / 365.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009236/0.123, allocations: 497 kB / 366.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.1234, allocations: 0.7155 MB / 367 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.1234, allocations: 11.44 kB / 367 MB, free: 4.859 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1234, allocations: 0 / 367 MB, free: 4.859 MB / 302.1 MB Notification: Performance of Templates: time 0.003549/0.127, allocations: 1.559 MB / 368.6 MB, free: 3.309 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,inertia.phi,heatCapacitor.T,eddyCurrentTorque.lossPower Variables in the result:eddyCurrentTorque.lossPower,heatCapacitor.T,inertia.phi,time