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.001685/0.001685, allocations: 117.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 204.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.67/2.67, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 63.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4834, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01441/0.4979, allocations: 6.533 MB / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007605/0.5055, allocations: 2.373 MB / 418.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.5073, allocations: 19.94 kB / 418.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.5092, allocations: 365.7 kB / 419.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.5126, allocations: 0.5199 MB / 419.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.5148, allocations: 455.2 kB / 420.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003717/0.5186, allocations: 1.573 MB / 421.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.5201, allocations: 0.513 MB / 422.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.5218, allocations: 0.5918 MB / 422.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.5238, allocations: 0.677 MB / 423.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006827/0.5246, allocations: 160 kB / 423.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008953/0.5255, allocations: 204 kB / 423.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006323/0.5261, allocations: 323 kB / 424.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.5279, allocations: 0.6843 MB / 424.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.5319, allocations: 1.975 MB / 426.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.532, allocations: 0 / 426.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.532, allocations: 0 / 426.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-05/0.5321, allocations: 0 / 426.9 MB, free: 0.5938 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.006025/0.5381, allocations: 1.542 MB / 428.4 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.5382, allocations: 8.031 kB / 428.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.5394, allocations: 163.3 kB / 428.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.5419, allocations: 0.7307 MB / 429.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.542, allocations: 77.98 kB / 429.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.5424, allocations: 100 kB / 429.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.5461, allocations: 0.9779 MB / 430.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/0.5462, allocations: 0 / 430.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.5463, allocations: 43.94 kB / 430.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.5464, allocations: 28 kB / 430.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/0.5498, allocations: 0.821 MB / 431.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.5608, allocations: 3.647 MB / 435 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003844/0.5647, allocations: 0.6202 MB / 435.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.5661, allocations: 320.9 kB / 435.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.026e-05/0.5662, allocations: 15.92 kB / 435.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.957e-05/0.5663, allocations: 50.88 kB / 436 MB, free: 7.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 4.869e-06/0.5663, allocations: 0 / 436 MB, free: 7.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.008772/0.5751, allocations: 1.665 MB / 437.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.5752, allocations: 85.11 kB / 437.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.5782, allocations: 1.042 MB / 438.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.5783, allocations: 37.7 kB / 438.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007986/0.5792, allocations: 0.5454 MB / 439.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.5796, allocations: 232.7 kB / 439.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005728/0.5802, allocations: 166.5 kB / 439.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.5804, allocations: 341.9 kB / 440.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.5819, allocations: 305.8 kB / 440.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.5836, allocations: 0.4913 MB / 440.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.5866, allocations: 0.7757 MB / 441.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.5867, allocations: 4 kB / 441.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004125/0.5908, allocations: 0.964 MB / 442.6 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/0.5922, allocations: 8 kB / 442.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.5922, allocations: 4 kB / 442.6 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.088e-05/0.5923, allocations: 12 kB / 442.6 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.5947, allocations: 279.9 kB / 442.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.588e-05/0.5948, allocations: 11.94 kB / 442.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.5965, allocations: 51.89 kB / 443 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.5967, allocations: 43.98 kB / 443 MB, free: 15.88 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.0008682/0.5976, allocations: 289.6 kB / 443.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.5981, allocations: 102.7 kB / 443.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.5997, allocations: 346.7 kB / 443.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.5998, allocations: 12 kB / 443.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.5998, allocations: 4 kB / 443.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.5998, allocations: 7.922 kB / 443.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007957/0.6078, allocations: 2.297 MB / 446.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.6079, allocations: 4 kB / 446.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.6096, allocations: 204.5 kB / 446.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.088e-05/0.6096, allocations: 8 kB / 446.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/0.6097, allocations: 23.98 kB / 446.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.793e-05/0.6098, allocations: 19.88 kB / 446.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/0.6098, allocations: 11.94 kB / 446.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/0.6131, allocations: 1.022 MB / 447.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.6137, allocations: 195.8 kB / 447.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.6141, allocations: 20 kB / 447.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.6155, allocations: 51.89 kB / 447.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.6157, allocations: 75.72 kB / 447.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-05/0.6158, allocations: 28 kB / 447.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002071/0.6179, allocations: 0.7151 MB / 448.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.6179, allocations: 0 / 448.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002882/0.6208, allocations: 215.9 kB / 448.6 MB, free: 9.953 MB / 366.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.001762/0.6226, allocations: 377.2 kB / 449 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.626, allocations: 0.7302 MB / 449.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.735e-05/0.6261, allocations: 8.062 kB / 449.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.6277, allocations: 357.1 kB / 450.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.6307, allocations: 225.1 kB / 450.3 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.6374, allocations: 1.978 MB / 452.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.6386, allocations: 1.034 MB / 453.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.6394, allocations: 83.41 kB / 453.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of SimCode: time 1.422e-06/0.6394, allocations: 3.938 kB / 453.4 MB, free: 5.152 MB / 366.1 MB Notification: Performance of Templates: time 0.03877/0.6782, allocations: 13.64 MB / 467 MB, free: 7.562 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