Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.001346/0.001346, allocations: 87.72 kB / 22 MB, free: 5.191 MB / 14.72 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.00139/0.00139, allocations: 161.8 kB / 25.24 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 158.6 MB / 187 MB, free: 6.266 MB / 174.1 MB " [Timeout remaining time 179] 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 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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 52.39 kB / 299.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2131, allocations: 49.15 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007461/0.2205, allocations: 5.523 MB / 354 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.224, allocations: 1.796 MB / 355.8 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.2245, allocations: 23.94 kB / 355.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.2251, allocations: 214.1 kB / 356.1 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009224/0.226, allocations: 400.9 kB / 356.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.2268, allocations: 379.5 kB / 356.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.2283, allocations: 1.487 MB / 358.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005292/0.2289, allocations: 321.8 kB / 358.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000648/0.2295, allocations: 0.5607 MB / 359.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.2302, allocations: 0.5171 MB / 359.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.2304, allocations: 163.9 kB / 359.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.2306, allocations: 160 kB / 360 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.2309, allocations: 303.1 kB / 360.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.2315, allocations: 0.5251 MB / 360.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.2333, allocations: 1.867 MB / 362.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2333, allocations: 3.938 kB / 362.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2333, allocations: 3.938 kB / 362.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.2333, allocations: 0 / 362.7 MB, free: 1.254 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00306/0.2364, allocations: 1.4 MB / 364.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2364, allocations: 11.98 kB / 364.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.2366, allocations: 128.2 kB / 364.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.2379, allocations: 0.6115 MB / 364.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.2379, allocations: 74.38 kB / 364.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.2381, allocations: 104.3 kB / 365 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.2401, allocations: 1.06 MB / 366.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.2402, allocations: 0 / 366.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.066e-05/0.2403, allocations: 40 kB / 366.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.2403, allocations: 24 kB / 366.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.2423, allocations: 0.86 MB / 367 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/0.2474, allocations: 2.713 MB / 369.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.249, allocations: 0.7581 MB / 370.5 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009527/0.2499, allocations: 438.8 kB / 370.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.25, allocations: 20.47 kB / 370.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.25, allocations: 47 kB / 371 MB, free: 8.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.016e-06/0.25, allocations: 0 / 371 MB, free: 8.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.01003/0.2601, allocations: 3.927 MB / 374.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.2601, allocations: 89.77 kB / 375 MB, free: 4.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.2609, allocations: 0.5534 MB / 375.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.261, allocations: 45.7 kB / 375.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.2613, allocations: 456.9 kB / 376 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.2616, allocations: 408.4 kB / 376.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.2619, allocations: 186.9 kB / 376.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.2621, allocations: 386.8 kB / 377 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008914/0.263, allocations: 378.4 kB / 377.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009963/0.264, allocations: 0.5159 MB / 377.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.2659, allocations: 0.8858 MB / 378.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2659, allocations: 4 kB / 378.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002642/0.2685, allocations: 1.183 MB / 380 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.2685, allocations: 11.98 kB / 380 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2685, allocations: 4 kB / 380 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004485/0.269, allocations: 126.5 kB / 380.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.2701, allocations: 251.6 kB / 380.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00427/0.2744, allocations: 4.576 MB / 384.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.2752, allocations: 51.91 kB / 385 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.2753, allocations: 39.98 kB / 385 MB, free: 10.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005026/0.2758, allocations: 273.8 kB / 385.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.2759, allocations: 95.38 kB / 385.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.2776, allocations: 0.7562 MB / 386.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.2777, allocations: 12 kB / 386.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.2777, allocations: 4 kB / 386.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.2777, allocations: 11.91 kB / 386.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/0.282, allocations: 2.214 MB / 388.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.282, allocations: 7.938 kB / 388.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009348/0.2829, allocations: 203.7 kB / 388.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.2833, allocations: 155.4 kB / 388.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.2834, allocations: 27.98 kB / 388.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/0.2881, allocations: 5.47 MB / 394.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2881, allocations: 8.094 kB / 394.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003505/0.2916, allocations: 1.735 MB / 396 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.2919, allocations: 83.42 kB / 396 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.292, allocations: 27.98 kB / 396.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.2927, allocations: 51.97 kB / 396.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.2929, allocations: 80.5 kB / 396.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.293, allocations: 31.98 kB / 396.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005825/0.2935, allocations: 390.8 kB / 396.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2935, allocations: 4 kB / 396.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001023/0.2946, allocations: 252 kB / 396.9 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001997/0.2948, allocations: 142.9 kB / 397 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.2975, allocations: 1.287 MB / 398.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2975, allocations: 4 kB / 398.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.2991, allocations: 0.9675 MB / 399.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3002, allocations: 182.2 kB / 399.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.3043, allocations: 2.155 MB / 401.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.3048, allocations: 444.6 kB / 402 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004994/0.3053, allocations: 115.3 kB / 402.1 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.3056, allocations: 76.48 kB / 402.2 MB, free: 8.254 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3056, allocations: 4 kB / 402.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of Templates: time 0.02343/0.329, allocations: 12.04 MB / 414.3 MB, free: 12.18 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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: 4.815594253013842]