Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009528/0.0009528, allocations: 97.62 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2106, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00441/0.215, allocations: 4.619 MB / 411.7 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2173, allocations: 1.95 MB / 413.6 MB, free: 21.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.2176, allocations: 15.94 kB / 413.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.2181, allocations: 398.7 kB / 414 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.2187, allocations: 418.1 kB / 414.4 MB, free: 20.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.2192, allocations: 289.6 kB / 414.7 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000673/0.2199, allocations: 0.9735 MB / 415.7 MB, free: 19.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2202, allocations: 263.4 kB / 416 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.2204, allocations: 358.6 kB / 416.3 MB, free: 18.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.2208, allocations: 482.2 kB / 416.8 MB, free: 18.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.2209, allocations: 48 kB / 416.8 MB, free: 18.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.221, allocations: 83.98 kB / 416.9 MB, free: 17.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.2212, allocations: 187.2 kB / 417.1 MB, free: 17.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.2214, allocations: 409.6 kB / 417.5 MB, free: 17.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006374/0.222, allocations: 1.228 MB / 418.7 MB, free: 16.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.222, allocations: 0 / 418.7 MB, free: 16.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.222, allocations: 4 kB / 418.7 MB, free: 16.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.2221, allocations: 4 kB / 418.7 MB, free: 16.13 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001749/0.2238, allocations: 1.203 MB / 419.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.2239, allocations: 12.03 kB / 419.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.2243, allocations: 123.7 kB / 420.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.2249, allocations: 0.5512 MB / 420.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.073e-05/0.225, allocations: 45.88 kB / 420.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.2251, allocations: 63.94 kB / 420.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009514/0.2261, allocations: 0.6557 MB / 421.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.2261, allocations: 4 kB / 421.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.2262, allocations: 24 kB / 421.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2262, allocations: 16 kB / 421.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2273, allocations: 0.5594 MB / 422 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.23, allocations: 2.556 MB / 424.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.2308, allocations: 473.7 kB / 425 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.2314, allocations: 297.6 kB / 425.3 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.2315, allocations: 16.42 kB / 425.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.2315, allocations: 43 kB / 425.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.954e-06/0.2315, allocations: 0 / 425.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003835/0.2353, allocations: 1.481 MB / 426.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2354, allocations: 55.97 kB / 426.9 MB, free: 7.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.2362, allocations: 0.9614 MB / 427.8 MB, free: 6.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2362, allocations: 33.7 kB / 427.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2364, allocations: 411.9 kB / 428.3 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.839e-05/0.2365, allocations: 208.9 kB / 428.5 MB, free: 6.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.2367, allocations: 122.5 kB / 428.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.2367, allocations: 330 kB / 428.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.2373, allocations: 245.9 kB / 429.2 MB, free: 5.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.2378, allocations: 351 kB / 429.5 MB, free: 4.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2389, allocations: 0.5674 MB / 430.1 MB, free: 4.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2389, allocations: 0 / 430.1 MB, free: 4.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001305/0.2402, allocations: 0.7307 MB / 430.8 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2402, allocations: 4 kB / 430.8 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2402, allocations: 4 kB / 430.8 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2403, allocations: 7.984 kB / 430.8 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.241, allocations: 175.7 kB / 431 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.241, allocations: 8 kB / 431 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.2415, allocations: 48 kB / 431 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.2415, allocations: 27.98 kB / 431.1 MB, free: 3.387 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002373/0.2418, allocations: 263.2 kB / 431.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.2419, allocations: 90.89 kB / 431.4 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.2431, allocations: 0.6281 MB / 432 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.2431, allocations: 8 kB / 432.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2431, allocations: 0 / 432.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2431, allocations: 3.984 kB / 432.1 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.2454, allocations: 1.82 MB / 433.9 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.2454, allocations: 4 kB / 433.9 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/0.2459, allocations: 135.8 kB / 434 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.246, allocations: 4 kB / 434 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.246, allocations: 12 kB / 434 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.246, allocations: 4 kB / 434 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.246, allocations: 4 kB / 434 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.2481, allocations: 1.703 MB / 435.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.2484, allocations: 200.1 kB / 435.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.2484, allocations: 12 kB / 435.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.2489, allocations: 35.97 kB / 436 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.249, allocations: 52.31 kB / 436 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.249, allocations: 19.94 kB / 436.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007304/0.2498, allocations: 0.6982 MB / 436.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2498, allocations: 0 / 436.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006019/0.2504, allocations: 144 kB / 436.9 MB, free: 13.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0007496/0.2511, allocations: 373.7 kB / 437.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.2524, allocations: 0.5731 MB / 437.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2525, allocations: 0 / 437.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000632/0.2531, allocations: 303.4 kB / 438.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.2539, allocations: 126.8 kB / 438.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.2568, allocations: 2.246 MB / 440.5 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.2574, allocations: 0.9866 MB / 441.5 MB, free: 8.738 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.2578, allocations: 97.09 kB / 441.6 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.258, allocations: 55.42 kB / 441.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.258, allocations: 0 / 441.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of Templates: time 0.01262/0.2706, allocations: 7.479 MB / 449.1 MB, free: 1.168 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches