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.001487/0.001487, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001618/0.001618, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.225, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00698/0.232, allocations: 6.533 MB / 416.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003354/0.2354, allocations: 2.373 MB / 418.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.2357, allocations: 19.94 kB / 418.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.2364, allocations: 361.7 kB / 419.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009178/0.2374, allocations: 0.5394 MB / 419.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.2381, allocations: 463.2 kB / 420.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.2394, allocations: 1.569 MB / 421.8 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006147/0.24, allocations: 0.5169 MB / 422.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005697/0.2406, allocations: 0.5957 MB / 422.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.2412, allocations: 0.6692 MB / 423.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.2414, allocations: 164 kB / 423.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.2417, allocations: 200 kB / 423.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.242, allocations: 330.9 kB / 424.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005184/0.2425, allocations: 0.6805 MB / 424.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.244, allocations: 1.979 MB / 426.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.244, allocations: 0 / 426.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.244, allocations: 0 / 426.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.244, allocations: 4 kB / 426.9 MB, free: 0.5469 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002684/0.2467, allocations: 1.542 MB / 428.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2468, allocations: 8.031 kB / 428.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005257/0.2473, allocations: 159.3 kB / 428.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2484, allocations: 0.7385 MB / 429.3 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.2485, allocations: 74 kB / 429.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.2486, allocations: 96 kB / 429.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.2504, allocations: 0.9857 MB / 430.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.2504, allocations: 4 kB / 430.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.2505, allocations: 40 kB / 430.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.2505, allocations: 24 kB / 430.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.2522, allocations: 0.8171 MB / 431.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.2571, allocations: 3.635 MB / 435 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.2591, allocations: 0.6226 MB / 435.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.2598, allocations: 325.5 kB / 435.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.2598, allocations: 8 kB / 436 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2598, allocations: 54.81 kB / 436 MB, free: 7.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.454e-06/0.2599, allocations: 0 / 436 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004048/0.2639, allocations: 1.663 MB / 437.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.264, allocations: 89.11 kB / 437.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.2652, allocations: 1.042 MB / 438.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.2652, allocations: 33.7 kB / 438.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.2656, allocations: 0.5493 MB / 439.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.2658, allocations: 228.7 kB / 439.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.266, allocations: 166.5 kB / 439.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2661, allocations: 341.9 kB / 440.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.2669, allocations: 309.8 kB / 440.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.2677, allocations: 499.1 kB / 440.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.2693, allocations: 0.7796 MB / 441.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2693, allocations: 0 / 441.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001981/0.2713, allocations: 0.9682 MB / 442.6 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2713, allocations: 6.656 kB / 442.6 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2713, allocations: 12 kB / 442.7 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2713, allocations: 8 kB / 442.7 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.2726, allocations: 287.5 kB / 442.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.2726, allocations: 12 kB / 443 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007667/0.2734, allocations: 51.94 kB / 443 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.2735, allocations: 35.94 kB / 443 MB, free: 15.84 MB / 366.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.0003946/0.2739, allocations: 289.6 kB / 443.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.274, allocations: 106.7 kB / 443.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007965/0.2748, allocations: 358.2 kB / 443.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2749, allocations: 0 / 443.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2749, allocations: 0 / 443.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.2751, allocations: 183.8 kB / 444 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.2752, allocations: 15.94 kB / 444 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.2758, allocations: 43.95 kB / 444 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2759, allocations: 43.94 kB / 444.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002108/0.2781, allocations: 0.894 MB / 445 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001506/0.2796, allocations: 0.9173 MB / 445.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006346/0.2802, allocations: 304.4 kB / 446.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008852/0.2811, allocations: 0.7151 MB / 446.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Backend: time 3.41e-07/0.2811, allocations: 0 / 446.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.2835, allocations: 0.887 MB / 447.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 0.002749/0.2863, allocations: 2.14 MB / 449.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of Templates: time 0.02073/0.307, allocations: 13.65 MB / 463.6 MB, free: 11.43 MB / 382.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