Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 175.7 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8665/0.8665, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.163e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005012/0.005024, allocations: 6.318 MB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.007375, allocations: 2.426 MB / 282.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.007635, allocations: 23.88 kB / 282.2 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.008144, allocations: 365.6 kB / 282.6 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006951/0.008839, allocations: 0.5546 MB / 283.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.00933, allocations: 463.1 kB / 283.6 MB, free: 7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.0105, allocations: 1.615 MB / 285.2 MB, free: 5.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.01084, allocations: 342 kB / 285.5 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.01151, allocations: 0.9238 MB / 286.4 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000445/0.01195, allocations: 0.5259 MB / 287 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.01207, allocations: 156 kB / 287.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.01225, allocations: 192 kB / 287.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.01243, allocations: 330.9 kB / 287.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.01272, allocations: 474.9 kB / 288.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.01344, allocations: 1.035 MB / 289.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.01344, allocations: 0 / 289.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01344, allocations: 4 kB / 289.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.01345, allocations: 0 / 289.1 MB, free: 1.383 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.08835/0.1018, allocations: 1.423 MB / 290.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.1018, allocations: 8.406 kB / 290.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.1022, allocations: 191.8 kB / 290.8 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.1029, allocations: 476.3 kB / 291.2 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.1029, allocations: 76.03 kB / 291.3 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.103, allocations: 101.4 kB / 291.4 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/0.1038, allocations: 0.7251 MB / 292.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.1038, allocations: 5.531 kB / 292.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.1038, allocations: 42.28 kB / 292.2 MB, free: 24.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.1038, allocations: 24.11 kB / 292.2 MB, free: 24.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.1042, allocations: 279 kB / 292.5 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.1065, allocations: 2.097 MB / 294.6 MB, free: 23.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.1072, allocations: 367.8 kB / 294.9 MB, free: 23.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1074, allocations: 140.2 kB / 295.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1074, allocations: 16.7 kB / 295.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.1074, allocations: 50.25 kB / 295.1 MB, free: 23.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.003e-06/0.1074, allocations: 0 / 295.1 MB, free: 23.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.001233/0.1087, allocations: 0.8314 MB / 295.9 MB, free: 23.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.1087, allocations: 84.59 kB / 296 MB, free: 23.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.1092, allocations: 0.6916 MB / 296.7 MB, free: 23.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1092, allocations: 39.33 kB / 296.8 MB, free: 23.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1094, allocations: 486.5 kB / 297.2 MB, free: 23.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/0.1095, allocations: 248.5 kB / 297.5 MB, free: 22.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.1096, allocations: 166.3 kB / 297.6 MB, free: 22.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.1097, allocations: 406.3 kB / 298 MB, free: 22.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1098, allocations: 82.45 kB / 298.1 MB, free: 22.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.11, allocations: 282.1 kB / 298.4 MB, free: 22.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.1104, allocations: 434 kB / 298.8 MB, free: 22.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1104, allocations: 1.812 kB / 298.8 MB, free: 22.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0005116/0.1109, allocations: 470.6 kB / 299.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1109, allocations: 7.188 kB / 299.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1109, allocations: 7.172 kB / 299.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1109, allocations: 10.06 kB / 299.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.1114, allocations: 247.2 kB / 299.5 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1114, allocations: 11.75 kB / 299.6 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.1117, allocations: 44.36 kB / 299.6 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.1117, allocations: 26.64 kB / 299.6 MB, free: 22.12 MB / 266.7 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0001412/0.1119, allocations: 172.6 kB / 299.8 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.112, allocations: 75.3 kB / 299.9 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.1122, allocations: 194.5 kB / 300.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1122, allocations: 7.781 kB / 300.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1122, allocations: 0 / 300.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1122, allocations: 9.094 kB / 300.1 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.1134, allocations: 1.189 MB / 301.3 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1134, allocations: 6.938 kB / 301.3 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.1138, allocations: 175.6 kB / 301.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1138, allocations: 13.34 kB / 301.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.1138, allocations: 27.67 kB / 301.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.1138, allocations: 14.84 kB / 301.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.1138, allocations: 15.56 kB / 301.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.1142, allocations: 0.6304 MB / 302.1 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.1143, allocations: 83.31 kB / 302.2 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.1143, allocations: 25.16 kB / 302.2 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1146, allocations: 43.23 kB / 302.3 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.1146, allocations: 66.86 kB / 302.4 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1146, allocations: 23.78 kB / 302.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002685/0.1149, allocations: 337.8 kB / 302.7 MB, free: 20.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1149, allocations: 0 / 302.7 MB, free: 20.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000464/0.1154, allocations: 209.4 kB / 302.9 MB, free: 20.83 MB / 266.7 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.0008168/0.1162, allocations: 475.8 kB / 303.4 MB, free: 20.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.1166, allocations: 377 kB / 303.7 MB, free: 20.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.1166, allocations: 11.47 kB / 303.8 MB, free: 20.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1167, allocations: 172.8 kB / 303.9 MB, free: 20.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.1173, allocations: 227.8 kB / 304.1 MB, free: 20.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.1188, allocations: 1.73 MB / 305.9 MB, free: 19.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.805e-05/0.1189, allocations: 183.5 kB / 306.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002622/0.1191, allocations: 121.6 kB / 306.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.1194, allocations: 229.5 kB / 306.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1194, allocations: 0 / 306.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of Templates: time 0.01194/0.1314, allocations: 11.38 MB / 317.8 MB, free: 8.184 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6377650070935488]