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.001159/0.001159, allocations: 109.4 kB / 17.73 MB, free: 5.344 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.001145/0.001145, allocations: 192.2 kB / 18.66 MB, free: 4.418 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.476/1.476, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00119/0.00119, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.08835, allocations: 46.61 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.1912/0.2796, allocations: 6.33 MB / 381.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.283, allocations: 2.129 MB / 383.6 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.2834, allocations: 20.5 kB / 383.6 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.2842, allocations: 356.7 kB / 384 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009956/0.2852, allocations: 491.6 kB / 384.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.2861, allocations: 433.3 kB / 384.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2877, allocations: 1.544 MB / 386.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006376/0.2884, allocations: 0.5177 MB / 386.9 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.289, allocations: 0.5732 MB / 387.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007216/0.2897, allocations: 0.6673 MB / 388.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.2899, allocations: 159.9 kB / 388.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.2902, allocations: 196.9 kB / 388.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.2905, allocations: 321.4 kB / 388.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.291, allocations: 0.6666 MB / 389.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.2929, allocations: 1.934 MB / 391.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2929, allocations: 0 / 391.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2929, allocations: 0 / 391.4 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.2929, allocations: 0 / 391.4 MB, free: 5.629 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.003108/0.2961, allocations: 1.544 MB / 393 MB, free: 4.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2961, allocations: 9.312 kB / 393 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.2963, allocations: 128 kB / 393.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.2975, allocations: 0.7161 MB / 393.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.2975, allocations: 73.5 kB / 393.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.2977, allocations: 102.6 kB / 394 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.2997, allocations: 1.01 MB / 395 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.2998, allocations: 2.281 kB / 395 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.2999, allocations: 44.3 kB / 395 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.2999, allocations: 22.75 kB / 395.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.3019, allocations: 0.8874 MB / 396 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004897/0.3069, allocations: 3.63 MB / 399.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.3098, allocations: 0.8992 MB / 400.5 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007668/0.3106, allocations: 371.2 kB / 400.9 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.3106, allocations: 10.86 kB / 400.9 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.3107, allocations: 38.69 kB / 400.9 MB, free: 236 kB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.896e-06/0.3107, allocations: 3.984 kB / 400.9 MB, free: 232 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005035/0.3157, allocations: 1.791 MB / 402.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3158, allocations: 84.48 kB / 402.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.3172, allocations: 0.9789 MB / 403.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.3173, allocations: 36.89 kB / 403.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.3177, allocations: 0.5212 MB / 404.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.3179, allocations: 237.3 kB / 404.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.3182, allocations: 158.7 kB / 404.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3183, allocations: 338 kB / 405 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009234/0.3192, allocations: 338.3 kB / 405.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3203, allocations: 0.5216 MB / 405.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.3222, allocations: 0.8264 MB / 406.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.3222, allocations: 5.406 kB / 406.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002673/0.3249, allocations: 1.012 MB / 407.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.3249, allocations: 12.22 kB / 407.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.325, allocations: 4.938 kB / 407.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/0.325, allocations: 13.55 kB / 407.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3263, allocations: 283.3 kB / 408 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-05/0.3263, allocations: 9.875 kB / 408 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009946/0.3273, allocations: 69.39 kB / 408.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.3274, allocations: 33.77 kB / 408.1 MB, free: 11.71 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.0006012/0.328, allocations: 291.3 kB / 408.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.3283, allocations: 106.1 kB / 408.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3294, allocations: 382.8 kB / 408.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3294, allocations: 6.875 kB / 408.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.3295, allocations: 1.25 kB / 408.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.3295, allocations: 5.391 kB / 408.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004727/0.3342, allocations: 2.297 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.3342, allocations: 6.594 kB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009036/0.3351, allocations: 219.8 kB / 411.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/0.3352, allocations: 7.625 kB / 411.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.3352, allocations: 20.56 kB / 411.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.3353, allocations: 13.92 kB / 411.5 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/0.3353, allocations: 13.44 kB / 411.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.3372, allocations: 1.024 MB / 412.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.3376, allocations: 185.5 kB / 412.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.3378, allocations: 22.23 kB / 412.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/0.3385, allocations: 51.36 kB / 412.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.3387, allocations: 65.53 kB / 412.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/0.3388, allocations: 24.94 kB / 412.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00109/0.3398, allocations: 0.6801 MB / 413.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3399, allocations: 0 / 413.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001041/0.3409, allocations: 211.8 kB / 413.7 MB, free: 7.938 MB / 334.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.000929/0.3418, allocations: 373.1 kB / 414.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.344, allocations: 0.772 MB / 414.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.344, allocations: 0 / 414.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.3448, allocations: 369.8 kB / 415.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.3463, allocations: 211.6 kB / 415.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.3502, allocations: 1.894 MB / 417.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.3511, allocations: 1.018 MB / 418.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006148/0.3517, allocations: 127.2 kB / 418.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.3519, allocations: 75.42 kB / 418.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.352, allocations: 0 / 418.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of Templates: time 0.02137/0.3733, allocations: 10.76 MB / 429.3 MB, free: 8.543 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/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