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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 104.3 kB / 17.59 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 191.3 kB / 18.52 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 47.55 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1079, allocations: 49.45 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003705/0.1117, allocations: 1.748 MB / 352.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.113, allocations: 0.6427 MB / 353.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1131, allocations: 4 kB / 353.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1133, allocations: 11.86 kB / 353.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1135, allocations: 31.7 kB / 353.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1138, allocations: 55.8 kB / 353.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.114, allocations: 119.4 kB / 353.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1141, allocations: 23.98 kB / 353.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.1142, allocations: 51.8 kB / 353.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1143, allocations: 43.78 kB / 353.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1143, allocations: 8 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1145, allocations: 27.98 kB / 353.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.1145, allocations: 19.92 kB / 353.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.1146, allocations: 51.73 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1148, allocations: 119.9 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1148, allocations: 0 / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1148, allocations: 0 / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.1149, allocations: 3.938 kB / 353.7 MB, free: 1.445 MB / 286.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.0007468/0.1156, allocations: 419.2 kB / 354.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1157, allocations: 19.83 kB / 354.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.1159, allocations: 20.83 kB / 354.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1162, allocations: 192.2 kB / 354.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1162, allocations: 8.562 kB / 354.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1162, allocations: 12.38 kB / 354.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1165, allocations: 104.9 kB / 354.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1165, allocations: 7.984 kB / 354.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1165, allocations: 4 kB / 354.5 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1165, allocations: 4 kB / 354.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1167, allocations: 51.97 kB / 354.5 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.1175, allocations: 493.1 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.1178, allocations: 78.59 kB / 355.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1179, allocations: 24.89 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.1179, allocations: 7.938 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1179, allocations: 30.56 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.118, allocations: 0 / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002647/0.1182, allocations: 101.6 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1183, allocations: 55.34 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1184, allocations: 117.8 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1184, allocations: 29.7 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.1185, allocations: 104 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1186, allocations: 35.53 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1186, allocations: 29.72 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1188, allocations: 318.8 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1188, allocations: 24 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.1189, allocations: 52.11 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.119, allocations: 83.3 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.119, allocations: 0 / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001903/0.1192, allocations: 117.5 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1193, allocations: 4 kB / 356.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1193, allocations: 4 kB / 356.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1193, allocations: 3.938 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1194, allocations: 23.98 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.1194, allocations: 7.938 kB / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.1195, allocations: 7.844 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1195, allocations: 8 kB / 356.2 MB, free: 14.64 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 (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.394e-05/0.1196, allocations: 125.9 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.1196, allocations: 7.906 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.1197, allocations: 16.38 kB / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1197, allocations: 0 / 356.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.1197, allocations: 3.938 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1197, allocations: 0 / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.12, allocations: 193.6 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.12, allocations: 0 / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.1201, allocations: 20 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1201, allocations: 3.984 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1201, allocations: 4 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1202, allocations: 0 / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1202, allocations: 7.938 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1204, allocations: 211.4 kB / 356.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.1205, allocations: 85.09 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1205, allocations: 4 kB / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.1206, allocations: 4 kB / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.1206, allocations: 7.938 kB / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.1206, allocations: 8.031 kB / 356.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.1207, allocations: 87.28 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1207, allocations: 0 / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.121, allocations: 31.94 kB / 357 MB, free: 13.73 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 (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 0.0001118/0.1211, allocations: 103.2 kB / 357.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.1212, allocations: 60.02 kB / 357.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1213, allocations: 192 / 357.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.1213, allocations: 36.11 kB / 357.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1217, allocations: 20.42 kB / 357.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.1226, allocations: 452.3 kB / 357.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1229, allocations: 0.7041 MB / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.1229, allocations: 11.44 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1229, allocations: 4 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Templates: time 0.003156/0.1261, allocations: 1.3 MB / 359.7 MB, free: 10.99 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) 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) Reference file matches