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/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.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/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001982, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 58.09 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.09888, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005895/0.1048, allocations: 4.651 MB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.1078, allocations: 1.991 MB / 365.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.1081, allocations: 15.88 kB / 365.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.1088, allocations: 426.2 kB / 366 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.1096, allocations: 461.5 kB / 366.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.1101, allocations: 338.8 kB / 366.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008877/0.111, allocations: 1.04 MB / 367.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.1114, allocations: 302.5 kB / 368.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.1119, allocations: 422.7 kB / 368.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.1124, allocations: 0.506 MB / 369 MB, free: 3.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1125, allocations: 100 kB / 369.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.1127, allocations: 132 kB / 369.2 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.1129, allocations: 239.2 kB / 369.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.1133, allocations: 465.6 kB / 369.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009963/0.1143, allocations: 1.293 MB / 371.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1143, allocations: 3.938 kB / 371.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1143, allocations: 0 / 371.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1143, allocations: 4 kB / 371.2 MB, free: 0.9492 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.1502/0.2645, allocations: 1.203 MB / 372.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2646, allocations: 10.05 kB / 372.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005179/0.2651, allocations: 127.4 kB / 372.6 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009259/0.2661, allocations: 0.569 MB / 373.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.2661, allocations: 47.84 kB / 373.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2662, allocations: 60.48 kB / 373.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.2674, allocations: 0.6306 MB / 373.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.2674, allocations: 4 kB / 373.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.2675, allocations: 29.62 kB / 373.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.2675, allocations: 14.75 kB / 373.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2685, allocations: 0.5233 MB / 374.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.2719, allocations: 2.53 MB / 377 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.2727, allocations: 477.8 kB / 377.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.2733, allocations: 285.4 kB / 377.7 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/0.2734, allocations: 12.14 kB / 377.7 MB, free: 17.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.2734, allocations: 39.67 kB / 377.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 1.713e-06/0.2734, allocations: 0 / 377.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.003788/0.2772, allocations: 1.44 MB / 379.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.2772, allocations: 62.19 kB / 379.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.2782, allocations: 0.9616 MB / 380.2 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.2783, allocations: 36.27 kB / 380.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.2785, allocations: 412.8 kB / 380.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2786, allocations: 216.4 kB / 380.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.2788, allocations: 117.1 kB / 381 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.2789, allocations: 332.9 kB / 381.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.2794, allocations: 229 kB / 381.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.2799, allocations: 333.4 kB / 381.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.2809, allocations: 0.5468 MB / 382.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2809, allocations: 0 / 382.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001277/0.2822, allocations: 0.7048 MB / 383.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2822, allocations: 7.047 kB / 383.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2822, allocations: 2.734 kB / 383.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2822, allocations: 5.594 kB / 383.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.283, allocations: 177 kB / 383.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.283, allocations: 6.203 kB / 383.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.2834, allocations: 33.42 kB / 383.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.2835, allocations: 27.88 kB / 383.4 MB, free: 14.49 MB / 302.1 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 (85): * Single equations (assignments): 85 * 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.0002808/0.2838, allocations: 273 kB / 383.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2839, allocations: 83.22 kB / 383.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.2851, allocations: 0.6107 MB / 384.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.2851, allocations: 15.77 kB / 384.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2851, allocations: 1.75 kB / 384.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2852, allocations: 3.141 kB / 384.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.2876, allocations: 1.784 MB / 386.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2876, allocations: 2.844 kB / 386.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.2882, allocations: 131.3 kB / 386.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2882, allocations: 4.969 kB / 386.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.2882, allocations: 20.72 kB / 386.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.2882, allocations: 4.062 kB / 386.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2883, allocations: 4.344 kB / 386.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2893, allocations: 0.7222 MB / 387 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.2895, allocations: 206.5 kB / 387.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.2896, allocations: 20.44 kB / 387.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.2901, allocations: 33.11 kB / 387.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.2902, allocations: 42.56 kB / 387.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.2902, allocations: 24.78 kB / 387.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007319/0.2909, allocations: 0.7044 MB / 388.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2909, allocations: 0 / 388.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005269/0.2915, allocations: 155.9 kB / 388.2 MB, free: 11.92 MB / 302.1 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 (63): * Single equations (assignments): 63 * 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.0007683/0.2923, allocations: 375.9 kB / 388.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.2934, allocations: 0.5495 MB / 389.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2934, allocations: 0 / 389.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.2939, allocations: 282.7 kB / 389.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.2946, allocations: 145.1 kB / 389.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.2968, allocations: 1.577 MB / 391.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.2972, allocations: 0.9704 MB / 392.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.2976, allocations: 99.05 kB / 392.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.2977, allocations: 53.95 kB / 392.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2977, allocations: 0 / 392.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of Templates: time 0.0118/0.3095, allocations: 7.926 MB / 400.2 MB, free: 4.418 MB / 302.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches