Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000929/0.0009293, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002782, allocations: 4 kB / 308.4 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09173, allocations: 51.53 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006671/0.09843, allocations: 6.06 MB / 366 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.1027, allocations: 2.319 MB / 368.3 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008906/0.1036, allocations: 19.94 kB / 368.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008989/0.1045, allocations: 314.5 kB / 368.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.106, allocations: 481.1 kB / 369.1 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.107, allocations: 395.6 kB / 369.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.1087, allocations: 1.463 MB / 370.9 MB, free: 2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006326/0.1094, allocations: 459.5 kB / 371.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008218/0.1102, allocations: 481.9 kB / 371.9 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008536/0.1111, allocations: 0.5794 MB / 372.4 MB, free: 488 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.1112, allocations: 64 kB / 372.5 MB, free: 424 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.1115, allocations: 95.94 kB / 372.6 MB, free: 328 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.1117, allocations: 223 kB / 372.8 MB, free: 104 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1709/0.2826, allocations: 0.593 MB / 373.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.2854, allocations: 1.553 MB / 375 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2855, allocations: 0 / 375 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2855, allocations: 0 / 375 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.973e-05/0.2856, allocations: 3.688 kB / 375 MB, free: 10.48 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003667/0.2892, allocations: 1.347 MB / 376.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2893, allocations: 9.5 kB / 376.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007722/0.2901, allocations: 158.8 kB / 376.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.2915, allocations: 0.7271 MB / 377.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.2917, allocations: 85.08 kB / 377.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.2919, allocations: 99.42 kB / 377.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.294, allocations: 0.9966 MB / 378.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.2941, allocations: 0.75 kB / 378.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/0.2942, allocations: 41.62 kB / 378.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.2942, allocations: 22.78 kB / 378.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.2959, allocations: 0.8473 MB / 379.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/0.3013, allocations: 3.697 MB / 383 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.3033, allocations: 0.6972 MB / 383.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.3039, allocations: 333.2 kB / 384 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.304, allocations: 15.31 kB / 384 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.304, allocations: 37.56 kB / 384.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.454e-06/0.304, allocations: 1 kB / 384.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004344/0.3084, allocations: 1.786 MB / 385.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.3084, allocations: 87.2 kB / 385.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.3099, allocations: 1.039 MB / 387 MB, free: 6.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.31, allocations: 43.89 kB / 387 MB, free: 6.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.3103, allocations: 0.5466 MB / 387.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.3105, allocations: 235.4 kB / 387.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3106, allocations: 75.92 kB / 387.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.3107, allocations: 335 kB / 388.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/0.3115, allocations: 333.6 kB / 388.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/0.3123, allocations: 0.5165 MB / 389 MB, free: 4.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.3138, allocations: 0.8228 MB / 389.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3138, allocations: 1.969 kB / 389.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002109/0.316, allocations: 1.017 MB / 390.9 MB, free: 4.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.316, allocations: 10.5 kB / 390.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.316, allocations: 5.406 kB / 390.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.316, allocations: 13.56 kB / 390.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3173, allocations: 299.3 kB / 391.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.3173, allocations: 16.48 kB / 391.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/0.3183, allocations: 67.23 kB / 391.3 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.3184, allocations: 38.7 kB / 391.3 MB, free: 3.965 MB / 302.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 (112): * Single equations (assignments): 112 * 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.0004957/0.3189, allocations: 300.2 kB / 391.6 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.319, allocations: 104.8 kB / 391.7 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/0.3199, allocations: 374.6 kB / 392.1 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3199, allocations: 6.625 kB / 392.1 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.3199, allocations: 1.125 kB / 392.1 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3199, allocations: 5.047 kB / 392.1 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003721/0.3236, allocations: 2.339 MB / 394.4 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.3237, allocations: 9.484 kB / 394.4 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/0.3246, allocations: 236.2 kB / 394.7 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/0.3246, allocations: 9.625 kB / 394.7 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.3246, allocations: 26.98 kB / 394.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.3247, allocations: 12.34 kB / 394.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.3247, allocations: 10.97 kB / 394.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.3263, allocations: 1.06 MB / 395.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.3267, allocations: 202 kB / 396 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.3269, allocations: 25.11 kB / 396 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.3276, allocations: 66.17 kB / 396.1 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.3278, allocations: 62.91 kB / 396.1 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.3278, allocations: 24.97 kB / 396.2 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001036/0.3289, allocations: 0.7255 MB / 396.9 MB, free: 292 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3289, allocations: 1.312 kB / 396.9 MB, free: 292 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.001059/0.3299, allocations: 213.5 kB / 397.1 MB, free: 268 kB / 302.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.0008687/0.3308, allocations: 386.2 kB / 397.5 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.3327, allocations: 0.7729 MB / 398.2 MB, free: 15.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.3328, allocations: 4 kB / 398.2 MB, free: 15.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.3336, allocations: 378.4 kB / 398.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.3361, allocations: 287.7 kB / 398.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.341, allocations: 2.475 MB / 401.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007659/0.3418, allocations: 1.029 MB / 402.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/0.3422, allocations: 93.59 kB / 402.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3422, allocations: 5.25 kB / 402.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of Templates: time 0.0204/0.3627, allocations: 13.19 MB / 415.7 MB, free: 104 kB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches