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.001509/0.001509, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.00168/0.00168, allocations: 185.6 kB / 18.67 MB, free: 4.398 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009328/0.0009328, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2495, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007154/0.2567, allocations: 6.402 MB / 407.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.26, allocations: 2.189 MB / 410 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.2603, allocations: 19.94 kB / 410 MB, free: 224 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.261, allocations: 349.8 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008516/0.2619, allocations: 492.6 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.2627, allocations: 455.2 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.264, allocations: 1.534 MB / 412.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.2646, allocations: 0.5143 MB / 413.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.2651, allocations: 0.5762 MB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006487/0.2658, allocations: 0.6653 MB / 414.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.266, allocations: 160 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.2663, allocations: 199.9 kB / 414.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.2665, allocations: 319 kB / 415.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005302/0.2671, allocations: 0.6649 MB / 415.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.2686, allocations: 1.935 MB / 417.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2686, allocations: 0 / 417.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2686, allocations: 3.984 kB / 417.8 MB, free: 8.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.2686, allocations: 0 / 417.8 MB, free: 8.348 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.002769/0.2714, allocations: 1.527 MB / 419.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2715, allocations: 12.03 kB / 419.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.2716, allocations: 131.3 kB / 419.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2727, allocations: 0.7162 MB / 420.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.2727, allocations: 74.38 kB / 420.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.2729, allocations: 96.12 kB / 420.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.2747, allocations: 1.021 MB / 421.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.2747, allocations: 0 / 421.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.2748, allocations: 36 kB / 421.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2749, allocations: 24 kB / 421.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.2768, allocations: 0.8835 MB / 422.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/0.2815, allocations: 3.625 MB / 426 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.2844, allocations: 0.9065 MB / 426.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007567/0.2852, allocations: 366.1 kB / 427.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.2853, allocations: 12 kB / 427.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2853, allocations: 46.41 kB / 427.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.974e-06/0.2853, allocations: 0 / 427.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004616/0.2899, allocations: 1.787 MB / 429.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.29, allocations: 81.11 kB / 429.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.2911, allocations: 0.9741 MB / 430.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.2911, allocations: 33.7 kB / 430.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.2915, allocations: 0.5299 MB / 430.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.2916, allocations: 228.7 kB / 430.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.2919, allocations: 162.5 kB / 431.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.292, allocations: 338 kB / 431.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008861/0.2929, allocations: 337.8 kB / 431.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009903/0.2939, allocations: 0.5261 MB / 432.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.2957, allocations: 0.8251 MB / 433.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2957, allocations: 4 kB / 433.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002189/0.2979, allocations: 1.006 MB / 434.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.2979, allocations: 19.88 kB / 434.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2979, allocations: 7.984 kB / 434.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.298, allocations: 12 kB / 434.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.2992, allocations: 283.6 kB / 434.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.2992, allocations: 15.94 kB / 434.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.2999, allocations: 67.92 kB / 434.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/0.3, allocations: 36 kB / 434.5 MB, free: 7.109 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.0003477/0.3003, allocations: 281.6 kB / 434.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.3005, allocations: 110.7 kB / 434.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009149/0.3014, allocations: 375.8 kB / 435.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3014, allocations: 8 kB / 435.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3014, allocations: 4 kB / 435.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.3015, allocations: 3.984 kB / 435.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.305, allocations: 2.299 MB / 437.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.305, allocations: 4 kB / 437.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.3059, allocations: 212.4 kB / 437.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.3059, allocations: 8 kB / 437.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.306, allocations: 23.98 kB / 437.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.306, allocations: 11.94 kB / 437.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.306, allocations: 15.92 kB / 437.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.3076, allocations: 1.034 MB / 438.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.3078, allocations: 187.8 kB / 439.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3079, allocations: 20 kB / 439.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.3085, allocations: 51.94 kB / 439.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3086, allocations: 71.69 kB / 439.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.201e-05/0.3087, allocations: 24 kB / 439.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007803/0.3094, allocations: 0.6786 MB / 439.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3095, allocations: 0 / 439.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007072/0.3102, allocations: 212 kB / 440.1 MB, free: 1.223 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (67): * Single equations (assignments): 67 * 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.0007992/0.311, allocations: 390.8 kB / 440.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.3127, allocations: 0.769 MB / 441.3 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3127, allocations: 0 / 441.3 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007911/0.3135, allocations: 369.4 kB / 441.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3146, allocations: 198.6 kB / 441.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.3175, allocations: 1.946 MB / 443.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.318, allocations: 1.018 MB / 444.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.3183, allocations: 87.33 kB / 444.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3183, allocations: 0 / 444.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01582/0.3341, allocations: 13.17 MB / 458.1 MB, free: 15.34 MB / 382.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