Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 106.6 kB / 18.4 MB, free: 4.676 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.001665/0.001665, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.369/1.369, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001251/0.001251, allocations: 51.92 kB / 329.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07332/0.07458, allocations: 46.61 MB / 375.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002757/0.07737, allocations: 1.758 MB / 377.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.07846, allocations: 0.6901 MB / 378.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.081e-05/0.07859, allocations: 0 / 378.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.07871, allocations: 19.8 kB / 378.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.0788, allocations: 31.7 kB / 378.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.07904, allocations: 51.81 kB / 378.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.07922, allocations: 131.4 kB / 378.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.07935, allocations: 17.41 kB / 378.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.07943, allocations: 43.86 kB / 378.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.07953, allocations: 47.77 kB / 378.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.07956, allocations: 8 kB / 378.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.953e-05/0.07965, allocations: 31.98 kB / 378.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.07968, allocations: 27.86 kB / 378.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.07974, allocations: 51.73 kB / 378.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.07995, allocations: 131.5 kB / 378.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.07997, allocations: 0 / 378.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.07997, allocations: 0 / 378.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.07998, allocations: 0 / 378.8 MB, free: 1.578 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.0005298/0.08052, allocations: 411.3 kB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.08056, allocations: 11.89 kB / 379.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.08077, allocations: 32.73 kB / 379.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.081, allocations: 200.1 kB / 379.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.08103, allocations: 4.562 kB / 379.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.08106, allocations: 12.38 kB / 379.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.08125, allocations: 93.59 kB / 379.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.08127, allocations: 0 / 379.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.08129, allocations: 4 kB / 379.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.08131, allocations: 4 kB / 379.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.08144, allocations: 55.97 kB / 379.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.08212, allocations: 455.5 kB / 380.1 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.0824, allocations: 106.6 kB / 380.2 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.08247, allocations: 28.84 kB / 380.2 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.08249, allocations: 7.984 kB / 380.2 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1462/0.2287, allocations: 34.56 kB / 380.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 4.288e-06/0.2287, allocations: 0 / 380.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001375/0.2301, allocations: 0.5248 MB / 380.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.533e-05/0.2301, allocations: 52.78 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.2302, allocations: 124.9 kB / 381 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2302, allocations: 29.58 kB / 381 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.2303, allocations: 109.3 kB / 381.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.2303, allocations: 45.78 kB / 381.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.2304, allocations: 30.08 kB / 381.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.2304, allocations: 322.5 kB / 381.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.2305, allocations: 32.33 kB / 381.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.2305, allocations: 60.77 kB / 381.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.2307, allocations: 97.11 kB / 381.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2307, allocations: 0.875 kB / 381.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001766/0.2309, allocations: 131.2 kB / 381.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2309, allocations: 9.078 kB / 381.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2309, allocations: 1.375 kB / 381.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2309, allocations: 4.938 kB / 381.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2311, allocations: 30.3 kB / 381.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2311, allocations: 4.469 kB / 381.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.2311, allocations: 5.453 kB / 381.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.2312, allocations: 6.438 kB / 381.9 MB, free: 12.14 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 (17): * Single equations (assignments): 17 * 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.985e-05/0.2312, allocations: 126 kB / 382 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.2313, allocations: 13.05 kB / 382 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.2313, allocations: 16.2 kB / 382 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2313, allocations: 0.8906 kB / 382 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2313, allocations: 1.125 kB / 382 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.2314, allocations: 84.5 kB / 382.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2314, allocations: 4.219 kB / 382.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.2315, allocations: 5.625 kB / 382.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.2315, allocations: 10.08 kB / 382.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002867/0.2318, allocations: 200.8 kB / 382.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002411/0.232, allocations: 316 kB / 382.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.567e-05/0.2321, allocations: 34.28 kB / 382.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.381e-05/0.2321, allocations: 99 kB / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of Backend: time 4.91e-07/0.2322, allocations: 0 / 382.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004255/0.2326, allocations: 147.4 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007277/0.2333, allocations: 0.8735 MB / 383.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of Templates: time 0.004355/0.2377, allocations: 1.444 MB / 385.2 MB, free: 10.61 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches