Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001283/0.001283, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001386/0.001386, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.37/1.37, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 47.94 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.247, allocations: 53.35 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007647/0.2547, allocations: 5.709 MB / 437.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.2581, allocations: 1.831 MB / 439.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.2586, allocations: 23.88 kB / 439.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.2591, allocations: 218.1 kB / 439.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008497/0.26, allocations: 420.8 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.2606, allocations: 375.5 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.2621, allocations: 1.506 MB / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005258/0.2627, allocations: 349.9 kB / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00074/0.2634, allocations: 0.5723 MB / 442.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/0.2642, allocations: 0.6069 MB / 443.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.2644, allocations: 160 kB / 443.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.2646, allocations: 168 kB / 443.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.2649, allocations: 311 kB / 444.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005522/0.2655, allocations: 0.5368 MB / 444.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.2674, allocations: 1.903 MB / 446.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2674, allocations: 4 kB / 446.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2674, allocations: 0 / 446.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.2674, allocations: 4 kB / 446.5 MB, free: 7.902 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002747/0.2702, allocations: 1.388 MB / 447.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2702, allocations: 8.031 kB / 447.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.255e-05/0.2703, allocations: 30.19 kB / 447.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.2704, allocations: 152.4 kB / 448.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005237/0.271, allocations: 160.1 kB / 448.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.2721, allocations: 0.6418 MB / 448.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.2722, allocations: 74 kB / 449 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.2723, allocations: 96 kB / 449 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.2741, allocations: 1.024 MB / 450.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.2741, allocations: 11.94 kB / 450.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/0.2742, allocations: 40 kB / 450.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.2743, allocations: 24 kB / 450.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.2758, allocations: 0.7937 MB / 450.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004974/0.2807, allocations: 2.84 MB / 453.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.2821, allocations: 0.7641 MB / 454.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/0.2828, allocations: 413.3 kB / 454.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.2829, allocations: 16.42 kB / 455 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.2829, allocations: 47.69 kB / 455 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.2829, allocations: 4 kB / 455 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008566/0.2915, allocations: 3.806 MB / 458.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.2916, allocations: 93.77 kB / 458.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000901/0.2925, allocations: 0.6447 MB / 459.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.2925, allocations: 41.7 kB / 459.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.2929, allocations: 453 kB / 460 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/0.2932, allocations: 420.3 kB / 460.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.2935, allocations: 186.9 kB / 460.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.2938, allocations: 402.7 kB / 461 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.2944, allocations: 346.4 kB / 461.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/0.2952, allocations: 496.7 kB / 461.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.2967, allocations: 0.851 MB / 462.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2967, allocations: 0 / 462.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002095/0.2988, allocations: 1.142 MB / 463.8 MB, free: 6.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.2988, allocations: 11.94 kB / 463.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.2988, allocations: 8 kB / 463.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.2992, allocations: 134.4 kB / 464 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.3002, allocations: 239.7 kB / 464.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/0.3042, allocations: 4.627 MB / 468.9 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.3049, allocations: 40.23 kB / 468.9 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.305, allocations: 35.98 kB / 468.9 MB, free: 0.6602 MB / 366.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 (132): * Single equations (assignments): 129 * 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.0004607/0.3054, allocations: 292.7 kB / 469.2 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.3056, allocations: 103.4 kB / 469.3 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.3071, allocations: 0.7453 MB / 470.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.3071, allocations: 12 kB / 470.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3071, allocations: 4 kB / 470.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.3071, allocations: 11.92 kB / 470.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.3109, allocations: 2.284 MB / 472.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.311, allocations: 4 kB / 472.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/0.3118, allocations: 195.8 kB / 472.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.3122, allocations: 151.3 kB / 472.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-05/0.3123, allocations: 27.98 kB / 472.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004432/0.3167, allocations: 5.565 MB / 478.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3168, allocations: 0 / 478.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/0.3196, allocations: 1.661 MB / 480 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.32, allocations: 183.3 kB / 480.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.3202, allocations: 20 kB / 480.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.3207, allocations: 39.92 kB / 480.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.3209, allocations: 92.38 kB / 480.3 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.3209, allocations: 35.92 kB / 480.3 MB, free: 4.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006242/0.3216, allocations: 463.1 kB / 480.8 MB, free: 4.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3216, allocations: 0 / 480.8 MB, free: 4.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009395/0.3225, allocations: 260 kB / 481 MB, free: 3.949 MB / 382.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 (108): * Single equations (assignments): 104 * 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.003098/0.3256, allocations: 2.238 MB / 483.3 MB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.3278, allocations: 1.223 MB / 484.5 MB, free: 412 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3278, allocations: 0 / 484.5 MB, free: 412 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.3292, allocations: 0.94 MB / 485.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3304, allocations: 200.5 kB / 485.6 MB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.3439, allocations: 8.21 MB / 493.8 MB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.3444, allocations: 450.6 kB / 494.3 MB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005514/0.3449, allocations: 128 kB / 494.4 MB, free: 6.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/0.3455, allocations: 403.3 kB / 494.8 MB, free: 5.793 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3455, allocations: 0 / 494.8 MB, free: 5.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06112/0.4066, allocations: 23.12 MB / 0.5058 GB, free: 15.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.18, allocations: 11.94 kB / 0.5058 GB, free: 15.02 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=1e-05 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 16.143399804015644]