Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001551, allocations: 119.4 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 247 MB, free: 4.355 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 51.92 kB / 358.7 MB, free: 8.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09408, allocations: 49.43 MB / 408.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007857/0.102, allocations: 6.4 MB / 414.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.1058, allocations: 2.197 MB / 416.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.1063, allocations: 16 kB / 416.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007658/0.107, allocations: 361.8 kB / 417.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009792/0.1081, allocations: 484.7 kB / 417.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.1089, allocations: 447.1 kB / 418 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.1105, allocations: 1.546 MB / 419.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007069/0.1112, allocations: 0.5091 MB / 420 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.1119, allocations: 0.5685 MB / 420.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007632/0.1127, allocations: 0.6614 MB / 421.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.1129, allocations: 160 kB / 421.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1132, allocations: 188 kB / 421.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.1135, allocations: 319 kB / 421.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006286/0.1141, allocations: 0.6727 MB / 422.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.116, allocations: 1.938 MB / 424.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1161, allocations: 0 / 424.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1161, allocations: 0 / 424.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.1161, allocations: 0 / 424.5 MB, free: 6.484 MB / 350.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.0031/0.1192, allocations: 1.576 MB / 426.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1192, allocations: 12.03 kB / 426.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.1195, allocations: 140.1 kB / 426.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.1206, allocations: 0.7168 MB / 427 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.1207, allocations: 74.38 kB / 427 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.1209, allocations: 96.08 kB / 427.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.1229, allocations: 1.017 MB / 428.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.1229, allocations: 7.938 kB / 428.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.123, allocations: 36 kB / 428.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.1231, allocations: 24 kB / 428.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.1251, allocations: 0.8835 MB / 429.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1916/0.3168, allocations: 3.624 MB / 432.7 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.3198, allocations: 0.8972 MB / 433.6 MB, free: 20.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.3206, allocations: 373.7 kB / 434 MB, free: 20.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.3207, allocations: 8.922 kB / 434 MB, free: 20.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3207, allocations: 38.75 kB / 434 MB, free: 20.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.346e-06/0.3207, allocations: 1.219 kB / 434 MB, free: 20.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005116/0.3258, allocations: 1.808 MB / 435.8 MB, free: 20.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3259, allocations: 93.75 kB / 435.9 MB, free: 20.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.3273, allocations: 0.9784 MB / 436.9 MB, free: 20.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.3273, allocations: 36.7 kB / 436.9 MB, free: 20.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.3277, allocations: 0.5379 MB / 437.5 MB, free: 20.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.3278, allocations: 242.2 kB / 437.7 MB, free: 19.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3281, allocations: 157 kB / 437.9 MB, free: 19.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.3282, allocations: 338.5 kB / 438.2 MB, free: 19.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009292/0.3291, allocations: 344.5 kB / 438.5 MB, free: 19.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3301, allocations: 0.5178 MB / 439.1 MB, free: 19.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.3321, allocations: 0.8348 MB / 439.9 MB, free: 19.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3321, allocations: 1.719 kB / 439.9 MB, free: 19.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00239/0.3345, allocations: 1.02 MB / 440.9 MB, free: 19.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.3346, allocations: 9.656 kB / 440.9 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3346, allocations: 9.438 kB / 440.9 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.3346, allocations: 10.38 kB / 440.9 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.3359, allocations: 283.2 kB / 441.2 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.3359, allocations: 13.7 kB / 441.2 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000889/0.3368, allocations: 70.75 kB / 441.3 MB, free: 19.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.3369, allocations: 40.55 kB / 441.3 MB, free: 19.03 MB / 350.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 (108): * Single equations (assignments): 108 * 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.0004006/0.3373, allocations: 287.9 kB / 441.6 MB, free: 18.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.3374, allocations: 103.3 kB / 441.7 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009798/0.3384, allocations: 387.1 kB / 442.1 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3385, allocations: 6.875 kB / 442.1 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3385, allocations: 1.938 kB / 442.1 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3385, allocations: 3.141 kB / 442.1 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.3422, allocations: 2.304 MB / 444.4 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.587e-06/0.3422, allocations: 8.031 kB / 444.4 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/0.3431, allocations: 207.4 kB / 444.6 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.3431, allocations: 13.56 kB / 444.6 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.3432, allocations: 21.83 kB / 444.7 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.3432, allocations: 12.2 kB / 444.7 MB, free: 18.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.3432, allocations: 11.31 kB / 444.7 MB, free: 18.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3449, allocations: 1.035 MB / 445.7 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.3451, allocations: 195.1 kB / 445.9 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.3452, allocations: 20.64 kB / 445.9 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006429/0.3459, allocations: 53.98 kB / 446 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.346, allocations: 64.72 kB / 446 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.346, allocations: 29.31 kB / 446.1 MB, free: 17.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008771/0.3469, allocations: 0.6801 MB / 446.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.3469, allocations: 0 / 446.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008592/0.3478, allocations: 215.1 kB / 447 MB, free: 17.12 MB / 350.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.00127/0.3491, allocations: 395.3 kB / 447.3 MB, free: 16.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.3511, allocations: 0.7612 MB / 448.1 MB, free: 16.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3511, allocations: 1.75 kB / 448.1 MB, free: 16.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.3519, allocations: 377.8 kB / 448.5 MB, free: 16.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3531, allocations: 189.8 kB / 448.7 MB, free: 16.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.356, allocations: 1.971 MB / 450.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.3566, allocations: 1.02 MB / 451.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.3569, allocations: 78.52 kB / 451.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3569, allocations: 4 kB / 451.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Templates: time 0.0166/0.3735, allocations: 13.04 MB / 464.8 MB, free: 6.906 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.584631202043965]