Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001311/0.001311, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001482/0.001482, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2441, allocations: 49.43 MB / 401.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007912/0.252, allocations: 6.416 MB / 407.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.2559, allocations: 2.189 MB / 410 MB, free: 408 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008454/0.2567, allocations: 16 kB / 410 MB, free: 392 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009504/0.2577, allocations: 357.8 kB / 410.4 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.2591, allocations: 0.4966 MB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009619/0.2601, allocations: 451.2 kB / 411.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.2618, allocations: 1.538 MB / 412.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007578/0.2626, allocations: 0.5131 MB / 413.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008379/0.2634, allocations: 0.5801 MB / 413.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.2645, allocations: 0.6693 MB / 414.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.2648, allocations: 160 kB / 414.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.2653, allocations: 180 kB / 414.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.2657, allocations: 327 kB / 415.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008166/0.2665, allocations: 0.6609 MB / 415.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.2683, allocations: 1.942 MB / 417.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2683, allocations: 0 / 417.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2683, allocations: 0 / 417.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.2683, allocations: 0 / 417.9 MB, free: 8.488 MB / 334.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.002884/0.2712, allocations: 1.576 MB / 419.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2713, allocations: 8.031 kB / 419.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.2715, allocations: 136.1 kB / 419.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.2726, allocations: 0.7168 MB / 420.3 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.2727, allocations: 70.38 kB / 420.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.2728, allocations: 108 kB / 420.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.2746, allocations: 1.009 MB / 421.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.2747, allocations: 8 kB / 421.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.2748, allocations: 40 kB / 421.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.2748, allocations: 20 kB / 421.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.2768, allocations: 0.8874 MB / 422.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005066/0.2818, allocations: 3.642 MB / 426.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.2845, allocations: 0.8932 MB / 427 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/0.2853, allocations: 377.7 kB / 427.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.2854, allocations: 11.91 kB / 427.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2854, allocations: 42.42 kB / 427.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.244e-06/0.2854, allocations: 0 / 427.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004589/0.29, allocations: 1.806 MB / 429.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.2901, allocations: 85.05 kB / 429.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.2912, allocations: 0.9781 MB / 430.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.2913, allocations: 33.7 kB / 430.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.2916, allocations: 0.535 MB / 430.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.2918, allocations: 246 kB / 431.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.2921, allocations: 162.6 kB / 431.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2922, allocations: 333.9 kB / 431.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008822/0.2931, allocations: 345.8 kB / 431.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009864/0.2941, allocations: 0.5144 MB / 432.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.2959, allocations: 0.8368 MB / 433.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.296, allocations: 0 / 433.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002155/0.2981, allocations: 1.018 MB / 434.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2981, allocations: 11.94 kB / 434.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2982, allocations: 4 kB / 434.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2982, allocations: 12 kB / 434.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.2994, allocations: 283.6 kB / 434.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.2994, allocations: 15.92 kB / 434.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.3002, allocations: 71.88 kB / 434.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.3003, allocations: 39.98 kB / 434.7 MB, free: 7.137 MB / 350.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.0003723/0.3006, allocations: 277.6 kB / 435 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.3008, allocations: 107.3 kB / 435.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009225/0.3017, allocations: 386.2 kB / 435.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3018, allocations: 0 / 435.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3018, allocations: 0 / 435.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.302, allocations: 180.5 kB / 435.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3021, allocations: 12 kB / 435.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.3027, allocations: 63.94 kB / 435.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3028, allocations: 39.94 kB / 435.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002469/0.3053, allocations: 0.9984 MB / 436.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001803/0.3071, allocations: 0.9912 MB / 437.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007697/0.3079, allocations: 340.1 kB / 438.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008823/0.3088, allocations: 0.6786 MB / 438.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of Backend: time 6.21e-07/0.3088, allocations: 3.938 kB / 438.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.3113, allocations: 0.9288 MB / 439.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of SimCode: time 0.002832/0.3142, allocations: 2.098 MB / 441.8 MB, free: 108 kB / 350.1 MB Notification: Performance of Templates: time 0.02229/0.3365, allocations: 13.18 MB / 454.9 MB, free: 3.031 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches