Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001503/0.001503, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001773/0.001773, allocations: 186.2 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07184/0.07313, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002861/0.07602, allocations: 1.754 MB / 377.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.07711, allocations: 0.694 MB / 378.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.07722, allocations: 4 kB / 378.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.07735, allocations: 11.86 kB / 378.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.07744, allocations: 35.7 kB / 378.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.07768, allocations: 47.81 kB / 378.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.07785, allocations: 119.4 kB / 378.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.07797, allocations: 24 kB / 378.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.07805, allocations: 47.78 kB / 378.5 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.768e-05/0.07816, allocations: 47.78 kB / 378.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.07819, allocations: 8 kB / 378.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.07828, allocations: 27.98 kB / 378.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.07831, allocations: 23.92 kB / 378.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.07837, allocations: 51.78 kB / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.07858, allocations: 123.6 kB / 378.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.07859, allocations: 0 / 378.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.0786, allocations: 0 / 378.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.07861, allocations: 0 / 378.8 MB, free: 1.562 MB / 318.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.0005028/0.07911, allocations: 407.3 kB / 379.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.07916, allocations: 15.83 kB / 379.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.07935, allocations: 32.73 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.07958, allocations: 188.2 kB / 379.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.07961, allocations: 12.5 kB / 379.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.07964, allocations: 12.38 kB / 379.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.07983, allocations: 93.53 kB / 379.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.07985, allocations: 3.984 kB / 379.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.07987, allocations: 8 kB / 379.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.07988, allocations: 0 / 379.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.08001, allocations: 59.97 kB / 379.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.08072, allocations: 485.2 kB / 380.1 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.08096, allocations: 78.59 kB / 380.2 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1445/0.2255, allocations: 32.89 kB / 380.2 MB, free: 0 / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2255, allocations: 2.469 kB / 380.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.2256, allocations: 30.56 kB / 380.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.2256, allocations: 0 / 380.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002616/0.2258, allocations: 101.5 kB / 380.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.356e-05/0.2259, allocations: 52.66 kB / 380.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.2259, allocations: 121.3 kB / 380.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.226, allocations: 28.45 kB / 380.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.226, allocations: 108.1 kB / 380.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.226, allocations: 31.38 kB / 380.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.2261, allocations: 28.97 kB / 380.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.2261, allocations: 319.6 kB / 381 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.2262, allocations: 21.22 kB / 381 MB, free: 12.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.2262, allocations: 53.56 kB / 381.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.138e-05/0.2263, allocations: 81.09 kB / 381.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2263, allocations: 1.375 kB / 381.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001447/0.2265, allocations: 116 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2265, allocations: 7.031 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2265, allocations: 1.656 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2265, allocations: 1.766 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2267, allocations: 28.3 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2267, allocations: 1.922 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.2267, allocations: 6.266 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.2268, allocations: 8.688 kB / 381.3 MB, free: 12.39 MB / 318.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 5.606e-05/0.2268, allocations: 122.3 kB / 381.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.2269, allocations: 10.5 kB / 381.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2269, allocations: 15.53 kB / 381.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2269, allocations: 0.8906 kB / 381.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2269, allocations: 0 / 381.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.2269, allocations: 86.77 kB / 381.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.227, allocations: 5.109 kB / 381.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.227, allocations: 3.75 kB / 381.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.2271, allocations: 10.03 kB / 381.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002374/0.2273, allocations: 172.6 kB / 381.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001936/0.2275, allocations: 288.5 kB / 382 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.609e-05/0.2276, allocations: 28.48 kB / 382.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.263e-05/0.2276, allocations: 99.23 kB / 382.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of Backend: time 2.9e-07/0.2276, allocations: 0 / 382.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003852/0.228, allocations: 130.8 kB / 382.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006714/0.2287, allocations: 0.876 MB / 383.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of Templates: time 0.00372/0.2324, allocations: 1.28 MB / 384.5 MB, free: 10.87 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches