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.001644/0.001644, allocations: 115.8 kB / 18.4 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.002175/0.002175, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 60.89 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1501, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01396/0.1641, allocations: 6.534 MB / 365.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006493/0.1707, allocations: 2.385 MB / 367.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.1718, allocations: 19.94 kB / 367.8 MB, free: 4.387 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.1731, allocations: 369.7 kB / 368.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.1752, allocations: 0.516 MB / 368.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.1768, allocations: 458.4 kB / 369.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.1798, allocations: 1.573 MB / 370.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.181, allocations: 0.5131 MB / 371.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.1823, allocations: 0.5918 MB / 371.8 MB, free: 360 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2004/0.3826, allocations: 0.6708 MB / 372.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005923/0.3833, allocations: 161.3 kB / 372.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.384, allocations: 192 kB / 372.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.3843, allocations: 332.7 kB / 373.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000862/0.3852, allocations: 0.677 MB / 373.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004063/0.3893, allocations: 1.983 MB / 375.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3893, allocations: 0 / 375.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3893, allocations: 4.156 kB / 375.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.862e-05/0.3894, allocations: 1.031 kB / 375.8 MB, free: 11.27 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.003717/0.3931, allocations: 1.533 MB / 377.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3931, allocations: 8.25 kB / 377.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005631/0.3937, allocations: 162.4 kB / 377.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.3951, allocations: 0.7375 MB / 378.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.3952, allocations: 77.88 kB / 378.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.3954, allocations: 95.3 kB / 378.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.3976, allocations: 0.9833 MB / 379.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.3976, allocations: 5.672 kB / 379.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.3977, allocations: 39.91 kB / 379.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.3978, allocations: 24.22 kB / 379.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.3996, allocations: 0.8178 MB / 380.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00539/0.405, allocations: 3.642 MB / 384 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.4069, allocations: 0.6179 MB / 384.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.4075, allocations: 337.3 kB / 384.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/0.4076, allocations: 7.969 kB / 384.9 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4076, allocations: 39.19 kB / 385 MB, free: 7.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.204e-06/0.4077, allocations: 0 / 385 MB, free: 7.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004143/0.4118, allocations: 1.669 MB / 386.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.4119, allocations: 85.67 kB / 386.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.4133, allocations: 1.035 MB / 387.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.4133, allocations: 36.48 kB / 387.8 MB, free: 5.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.4137, allocations: 0.5461 MB / 388.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.4138, allocations: 236.7 kB / 388.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.4141, allocations: 162.6 kB / 388.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.4142, allocations: 340.8 kB / 389 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/0.4149, allocations: 305.6 kB / 389.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.4156, allocations: 499.7 kB / 389.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.4171, allocations: 0.7906 MB / 390.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4171, allocations: 1.469 kB / 390.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002084/0.4192, allocations: 0.9644 MB / 391.6 MB, free: 3.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.4192, allocations: 7.875 kB / 391.6 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.4193, allocations: 9.594 kB / 391.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.4193, allocations: 11.56 kB / 391.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4204, allocations: 269.5 kB / 391.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.4205, allocations: 17.52 kB / 391.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/0.4213, allocations: 52.33 kB / 391.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.4214, allocations: 34.94 kB / 392 MB, free: 3.332 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.0004959/0.4219, allocations: 302.3 kB / 392.3 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.4221, allocations: 103.4 kB / 392.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007652/0.4229, allocations: 351.2 kB / 392.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.4229, allocations: 7.812 kB / 392.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.4229, allocations: 0 / 392.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4229, allocations: 5.078 kB / 392.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.4265, allocations: 2.286 MB / 395 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.4265, allocations: 7.25 kB / 395 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.4274, allocations: 209.1 kB / 395.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.4274, allocations: 14.28 kB / 395.2 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.4274, allocations: 22.12 kB / 395.3 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/0.4275, allocations: 15.42 kB / 395.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.4275, allocations: 11.53 kB / 395.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.429, allocations: 1.028 MB / 396.3 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.4293, allocations: 194.2 kB / 396.5 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.4294, allocations: 18.09 kB / 396.5 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/0.43, allocations: 51.45 kB / 396.6 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4301, allocations: 62.69 kB / 396.6 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.4302, allocations: 32.45 kB / 396.7 MB, free: 68 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009196/0.4311, allocations: 0.7148 MB / 397.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4311, allocations: 0 / 397.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000878/0.432, allocations: 212.4 kB / 397.6 MB, free: 15.65 MB / 318.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.000884/0.4329, allocations: 385.3 kB / 398 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.4344, allocations: 0.7378 MB / 398.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.4344, allocations: 0 / 398.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006722/0.4351, allocations: 362.7 kB / 399.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4362, allocations: 232.2 kB / 399.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.4392, allocations: 1.932 MB / 401.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.4398, allocations: 1.024 MB / 402.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005108/0.4403, allocations: 134.8 kB / 402.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.4405, allocations: 76.22 kB / 402.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4405, allocations: 1.719 kB / 402.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of Templates: time 0.01918/0.4597, allocations: 10.93 MB / 413.4 MB, free: 2.211 MB / 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 -s cvode -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