Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 86.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.85e-05, allocations: 0 / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3396, allocations: 47.57 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.4815, allocations: 88.2 MB / 450.5 MB, free: 14.1 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.4819, allocations: 83.95 kB / 450.6 MB, free: 14.02 MB / 347.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Magnetic/FluxTubes.mo:1363:11-1363:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.09579/0.5777, allocations: 21.89 MB / 472.5 MB, free: 8.141 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5778, allocations: 192 / 472.5 MB, free: 8.141 MB / 363.1 MB Notification: Performance of Transformations before backend: time 8.578e-05/0.5779, allocations: 23.94 kB / 472.5 MB, free: 8.117 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003967/0.5819, allocations: 1.232 MB / 473.8 MB, free: 6.84 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5819, allocations: 8.031 kB / 473.8 MB, free: 6.832 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.5823, allocations: 131.1 kB / 473.9 MB, free: 6.703 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.5841, allocations: 0.6583 MB / 474.6 MB, free: 6.004 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.5843, allocations: 46 kB / 474.6 MB, free: 5.957 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.5845, allocations: 56 kB / 474.7 MB, free: 5.902 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002314/0.5868, allocations: 0.7225 MB / 475.4 MB, free: 5.18 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.5891, allocations: 0.8029 MB / 476.2 MB, free: 4.367 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.5892, allocations: 3.906 kB / 476.2 MB, free: 4.363 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.5893, allocations: 0 / 476.2 MB, free: 4.363 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.5894, allocations: 24 kB / 476.2 MB, free: 4.34 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00941/0.5988, allocations: 3.693 MB / 479.9 MB, free: 472 kB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/0.6022, allocations: 0.8051 MB / 480.7 MB, free: 15.64 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009456/0.6032, allocations: 345 kB / 481.1 MB, free: 15.3 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.331e-05/0.6033, allocations: 8.562 kB / 481.1 MB, free: 15.29 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.6033, allocations: 51.06 kB / 481.1 MB, free: 15.23 MB / 379.1 MB Notification: Performance of pre-optimization done (n=68): time 3.597e-06/0.6033, allocations: 0 / 481.1 MB, free: 15.23 MB / 379.1 MB Notification: Performance of matching and sorting (n=86): time 0.004638/0.608, allocations: 1.406 MB / 482.5 MB, free: 13.82 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.6081, allocations: 85.55 kB / 482.6 MB, free: 13.72 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.6096, allocations: 0.6951 MB / 483.3 MB, free: 13.02 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 8.187e-05/0.6097, allocations: 25.7 kB / 483.3 MB, free: 12.98 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.6102, allocations: 0.5325 MB / 483.9 MB, free: 12.45 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.6106, allocations: 271.9 kB / 484.1 MB, free: 12.18 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.6106, allocations: 0 / 484.1 MB, free: 12.18 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.6108, allocations: 354.7 kB / 484.5 MB, free: 11.82 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008318/0.6117, allocations: 278.6 kB / 484.7 MB, free: 11.55 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009831/0.6127, allocations: 450.3 kB / 485.2 MB, free: 11.05 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/0.6136, allocations: 321.7 kB / 485.5 MB, free: 10.74 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.6136, allocations: 8 kB / 485.5 MB, free: 10.73 MB / 379.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002208/0.6158, allocations: 0.7717 MB / 486.3 MB, free: 9.949 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.6159, allocations: 10.5 kB / 486.3 MB, free: 9.941 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.6159, allocations: 8.5 kB / 486.3 MB, free: 9.934 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.6159, allocations: 12 kB / 486.3 MB, free: 9.922 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.6187, allocations: 351.5 kB / 486.6 MB, free: 9.578 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.6188, allocations: 12 kB / 486.7 MB, free: 9.566 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.6205, allocations: 95.91 kB / 486.7 MB, free: 9.473 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.6206, allocations: 39.98 kB / 486.8 MB, free: 9.434 MB / 379.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002609/0.6209, allocations: 124.7 kB / 486.9 MB, free: 9.305 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.6211, allocations: 90.88 kB / 487 MB, free: 9.215 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.6222, allocations: 333.3 kB / 487.3 MB, free: 8.875 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.6222, allocations: 8 kB / 487.3 MB, free: 8.867 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6222, allocations: 0 / 487.3 MB, free: 8.867 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.6223, allocations: 3.984 kB / 487.3 MB, free: 8.863 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00659/0.6289, allocations: 2.66 MB / 490 MB, free: 6.02 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/0.6289, allocations: 12 kB / 490 MB, free: 6.008 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/0.6309, allocations: 267.9 kB / 490.3 MB, free: 5.746 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.028e-05/0.631, allocations: 16 kB / 490.3 MB, free: 5.73 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.6311, allocations: 23.98 kB / 490.3 MB, free: 5.707 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.496e-05/0.6311, allocations: 19.88 kB / 490.3 MB, free: 5.688 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/0.6311, allocations: 15.94 kB / 490.3 MB, free: 5.672 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/0.6339, allocations: 1.627 MB / 492 MB, free: 3.609 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.6344, allocations: 195.9 kB / 492.2 MB, free: 3.398 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001963/0.6346, allocations: 23.98 kB / 492.2 MB, free: 3.375 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.6359, allocations: 63.94 kB / 492.2 MB, free: 3.312 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.6361, allocations: 95.64 kB / 492.3 MB, free: 3.219 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/0.6362, allocations: 39.98 kB / 492.4 MB, free: 3.18 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.6373, allocations: 0.5187 MB / 492.9 MB, free: 2.664 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6373, allocations: 0 / 492.9 MB, free: 2.664 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001379/0.6387, allocations: 208 kB / 493.1 MB, free: 2.461 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.6398, allocations: 354 kB / 493.4 MB, free: 2.137 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.6417, allocations: 0.6555 MB / 494.1 MB, free: 1.484 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.6417, allocations: 4 kB / 494.1 MB, free: 1.48 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.6428, allocations: 386.8 kB / 494.5 MB, free: 1.105 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.6444, allocations: 159.4 kB / 494.6 MB, free: 0.9531 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.6489, allocations: 1.55 MB / 496.2 MB, free: 15.23 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009729/0.6499, allocations: 1.049 MB / 497.2 MB, free: 14.15 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006812/0.6506, allocations: 87.39 kB / 497.3 MB, free: 14.06 MB / 395.1 MB Notification: Performance of SimCode: time 1.153e-06/0.6506, allocations: 4 kB / 497.3 MB, free: 14.06 MB / 395.1 MB Notification: Performance of Templates: time 0.03169/0.6823, allocations: 12.72 MB / 0.4981 GB, free: 1.301 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches