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.001395/0.001395, allocations: 116.2 kB / 18.45 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.001489/0.00149, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2323, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005933/0.2383, allocations: 4.658 MB / 414.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.2416, allocations: 1.975 MB / 416.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.2422, allocations: 11.94 kB / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007892/0.243, allocations: 434.2 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.2441, allocations: 453.5 kB / 417.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.2448, allocations: 323.5 kB / 417.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.2459, allocations: 1.032 MB / 418.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.2464, allocations: 314.5 kB / 419.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.247, allocations: 422.7 kB / 419.5 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006338/0.2476, allocations: 0.506 MB / 420 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.2478, allocations: 96 kB / 420.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.2481, allocations: 143.9 kB / 420.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.2483, allocations: 243.1 kB / 420.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.2487, allocations: 465.6 kB / 420.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.2498, allocations: 1.298 MB / 422.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2498, allocations: 0 / 422.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2498, allocations: 0 / 422.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.2499, allocations: 4 kB / 422.2 MB, free: 5.211 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002325/0.2522, allocations: 1.199 MB / 423.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2522, allocations: 15.97 kB / 423.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005037/0.2527, allocations: 127.8 kB / 423.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/0.2536, allocations: 0.5751 MB / 424.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.2537, allocations: 49.25 kB / 424.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.2538, allocations: 63.91 kB / 424.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.2549, allocations: 0.6323 MB / 424.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.255, allocations: 0 / 424.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.255, allocations: 24 kB / 424.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2551, allocations: 16 kB / 424.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2561, allocations: 0.5204 MB / 425.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.2597, allocations: 2.536 MB / 428 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.2606, allocations: 476.3 kB / 428.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.2612, allocations: 289.2 kB / 428.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.2613, allocations: 12.42 kB / 428.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2613, allocations: 39 kB / 428.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.2613, allocations: 4 kB / 428.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004211/0.2655, allocations: 1.438 MB / 430.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2656, allocations: 59.97 kB / 430.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2667, allocations: 0.9615 MB / 431.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.2668, allocations: 37.7 kB / 431.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.2671, allocations: 412 kB / 431.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.2672, allocations: 212.8 kB / 431.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.2674, allocations: 122.6 kB / 432 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2675, allocations: 330 kB / 432.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.2681, allocations: 229.9 kB / 432.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.2686, allocations: 339 kB / 432.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2697, allocations: 0.5401 MB / 433.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2697, allocations: 0 / 433.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001413/0.2711, allocations: 0.7109 MB / 434.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2712, allocations: 8 kB / 434.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2712, allocations: 0 / 434.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.2712, allocations: 8 kB / 434.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.272, allocations: 172 kB / 434.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.272, allocations: 7.984 kB / 434.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.2725, allocations: 35.97 kB / 434.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.2726, allocations: 20 kB / 434.4 MB, free: 8.668 MB / 350.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.0003484/0.2729, allocations: 281.5 kB / 434.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.2731, allocations: 78.97 kB / 434.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.2744, allocations: 0.6126 MB / 435.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.2744, allocations: 11.94 kB / 435.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.2744, allocations: 0 / 435.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2744, allocations: 3.984 kB / 435.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.2772, allocations: 1.788 MB / 437.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2772, allocations: 4 kB / 437.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.2778, allocations: 128.1 kB / 437.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.2778, allocations: 8 kB / 437.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.2779, allocations: 16 kB / 437.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.2779, allocations: 4 kB / 437.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2779, allocations: 7.984 kB / 437.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.2791, allocations: 0.7237 MB / 438.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.2793, allocations: 204 kB / 438.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.2795, allocations: 16 kB / 438.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.2799, allocations: 31.91 kB / 438.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/0.28, allocations: 52.25 kB / 438.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.2801, allocations: 28 kB / 438.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007957/0.2809, allocations: 0.6982 MB / 439.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2809, allocations: 0 / 439.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005773/0.2815, allocations: 156 kB / 439.2 MB, free: 3.625 MB / 350.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.0008451/0.2823, allocations: 371 kB / 439.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.2835, allocations: 0.5541 MB / 440.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2836, allocations: 3.938 kB / 440.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.2841, allocations: 278.2 kB / 440.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.2849, allocations: 135.1 kB / 440.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.2875, allocations: 1.622 MB / 442.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.2881, allocations: 0.9709 MB / 443.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.2883, allocations: 63.42 kB / 443.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2883, allocations: 0 / 443.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.01535/0.3037, allocations: 10.14 MB / 453.3 MB, free: 5.547 MB / 366.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 -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