Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001125, allocations: 112.3 kB / 18.41 MB, free: 4.691 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.001164/0.001164, allocations: 186.2 kB / 19.34 MB, free: 3.766 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.3/1.3, 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.001188/0.001188, allocations: 51.91 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07552/0.07672, allocations: 46.63 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.1653/0.2421, allocations: 6.329 MB / 382.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003194/0.2453, allocations: 2.133 MB / 384.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.2458, allocations: 20.47 kB / 384.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.2466, allocations: 350.9 kB / 384.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009152/0.2475, allocations: 0.4926 MB / 385.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.2483, allocations: 435.2 kB / 385.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.2496, allocations: 1.543 MB / 387.1 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006349/0.2502, allocations: 0.5141 MB / 387.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005592/0.2508, allocations: 0.5786 MB / 388.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000659/0.2515, allocations: 0.6667 MB / 388.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.2517, allocations: 163.5 kB / 389 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.252, allocations: 188.1 kB / 389.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.2522, allocations: 326.8 kB / 389.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.2527, allocations: 0.6638 MB / 390.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.2546, allocations: 1.935 MB / 392.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2546, allocations: 0 / 392.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2546, allocations: 0 / 392.1 MB, free: 5.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.2546, allocations: 0 / 392.1 MB, free: 5.625 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002844/0.2575, allocations: 1.586 MB / 393.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2575, allocations: 8.406 kB / 393.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.2577, allocations: 136.9 kB / 393.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.2589, allocations: 0.7164 MB / 394.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.2589, allocations: 77.47 kB / 394.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.2591, allocations: 107.4 kB / 394.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.2609, allocations: 1.006 MB / 395.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.261, allocations: 2.125 kB / 395.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.2611, allocations: 39.34 kB / 395.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.2611, allocations: 27.75 kB / 395.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.2631, allocations: 0.8831 MB / 396.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.2678, allocations: 3.648 MB / 400.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.2705, allocations: 0.8937 MB / 401.3 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.2712, allocations: 368 kB / 401.6 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.2713, allocations: 10.95 kB / 401.6 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2713, allocations: 45.72 kB / 401.7 MB, free: 164 kB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.384e-06/0.2713, allocations: 0 / 401.7 MB, free: 164 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.004633/0.2759, allocations: 1.819 MB / 403.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.276, allocations: 83.39 kB / 403.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.2773, allocations: 0.9785 MB / 404.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.2773, allocations: 40.33 kB / 404.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/0.2777, allocations: 0.5278 MB / 405.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.2779, allocations: 246.6 kB / 405.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.2782, allocations: 158.6 kB / 405.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2783, allocations: 345.7 kB / 405.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009014/0.2792, allocations: 338.2 kB / 406.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.2802, allocations: 0.5252 MB / 406.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.282, allocations: 0.8219 MB / 407.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.282, allocations: 1.156 kB / 407.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00228/0.2843, allocations: 1.018 MB / 408.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2844, allocations: 11.53 kB / 408.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2844, allocations: 9.359 kB / 408.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.2844, allocations: 9.156 kB / 408.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2856, allocations: 287.4 kB / 408.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.2857, allocations: 14.22 kB / 408.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/0.2865, allocations: 65.98 kB / 408.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.2866, allocations: 37.55 kB / 409 MB, free: 11.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0004018/0.287, allocations: 290.5 kB / 409.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.2872, allocations: 107.3 kB / 409.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00097/0.2882, allocations: 378.5 kB / 409.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.2882, allocations: 9.234 kB / 409.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2882, allocations: 3.938 kB / 409.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.2884, allocations: 179.4 kB / 409.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.2885, allocations: 15.98 kB / 409.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.2892, allocations: 54.34 kB / 410 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.2893, allocations: 47 kB / 410 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002512/0.2919, allocations: 0.9804 MB / 411 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001838/0.2937, allocations: 0.9981 MB / 412 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008016/0.2945, allocations: 346.1 kB / 412.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000958/0.2955, allocations: 0.6739 MB / 413 MB, free: 9.078 MB / 334.1 MB Notification: Performance of Backend: time 8.82e-07/0.2955, allocations: 5 kB / 413 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.2984, allocations: 0.9183 MB / 413.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of SimCode: time 0.003151/0.3016, allocations: 2.098 MB / 416 MB, free: 6.855 MB / 334.1 MB Notification: Performance of Templates: time 0.02269/0.3243, allocations: 13.17 MB / 429.2 MB, free: 9.66 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches