Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008625/0.0008625, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008208/0.0008208, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8644/0.8644, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.331e-05, allocations: 2.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005289/0.005312, allocations: 5.714 MB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.008514, allocations: 1.854 MB / 332.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006134/0.009128, allocations: 23.88 kB / 332.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005628/0.00969, allocations: 214 kB / 332.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008978/0.01059, allocations: 440.4 kB / 332.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007107/0.0113, allocations: 379.4 kB / 333.1 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.01251, allocations: 1.545 MB / 334.7 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.01293, allocations: 329.9 kB / 335 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.01382, allocations: 0.8654 MB / 335.8 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.0143, allocations: 466.6 kB / 336.3 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.01444, allocations: 160 kB / 336.5 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.01462, allocations: 167.9 kB / 336.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.01477, allocations: 315 kB / 336.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.01511, allocations: 466.9 kB / 337.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.01643, allocations: 1.94 MB / 339.3 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01644, allocations: 0 / 339.3 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01644, allocations: 3.938 kB / 339.3 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.01646, allocations: 0 / 339.3 MB, free: 0.9883 MB / 298.7 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.001898/0.01836, allocations: 1.377 MB / 340.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.01841, allocations: 11.98 kB / 340.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.01854, allocations: 148.4 kB / 340.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.01886, allocations: 164.1 kB / 341 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008973/0.01976, allocations: 0.634 MB / 341.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.01981, allocations: 78.12 kB / 341.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.01991, allocations: 100 kB / 341.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.02106, allocations: 1.02 MB / 342.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.02109, allocations: 11.94 kB / 342.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.02115, allocations: 40 kB / 342.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.02117, allocations: 24 kB / 342.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.02222, allocations: 0.7937 MB / 343.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.02561, allocations: 2.849 MB / 346.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/0.02652, allocations: 0.7623 MB / 347.3 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.02701, allocations: 395.1 kB / 347.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/0.02706, allocations: 20.42 kB / 347.7 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.0271, allocations: 43.06 kB / 347.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.558e-06/0.02711, allocations: 4 kB / 347.8 MB, free: 8.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=119): time 0.005525/0.03263, allocations: 3.832 MB / 351.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.03268, allocations: 93.7 kB / 351.7 MB, free: 4.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.03333, allocations: 0.6447 MB / 352.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.03338, allocations: 41.7 kB / 352.4 MB, free: 3.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.03363, allocations: 445.1 kB / 352.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.03387, allocations: 420.3 kB / 353.2 MB, free: 2.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.03407, allocations: 186.9 kB / 353.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.03421, allocations: 398.7 kB / 353.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.03466, allocations: 346.4 kB / 354.1 MB, free: 1.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.03515, allocations: 492.7 kB / 354.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009554/0.0361, allocations: 0.8559 MB / 355.5 MB, free: 376 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.03611, allocations: 4 kB / 355.5 MB, free: 372 kB / 314.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001373/0.03748, allocations: 1.148 MB / 356.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.0375, allocations: 7.984 kB / 356.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.03751, allocations: 4 kB / 356.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.03777, allocations: 130.5 kB / 356.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.03828, allocations: 243.7 kB / 357 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.04086, allocations: 4.627 MB / 361.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.04124, allocations: 35.98 kB / 361.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.04128, allocations: 39.94 kB / 361.7 MB, free: 9.773 MB / 330.7 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.0003256/0.04161, allocations: 281.8 kB / 362 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.04171, allocations: 95.44 kB / 362.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008712/0.04258, allocations: 0.7491 MB / 362.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.04259, allocations: 12 kB / 362.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.04259, allocations: 4 kB / 362.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.0426, allocations: 7.984 kB / 362.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.04506, allocations: 2.28 MB / 365.1 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.04506, allocations: 4.062 kB / 365.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.04552, allocations: 195.7 kB / 365.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.04578, allocations: 155.3 kB / 365.5 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.04583, allocations: 31.92 kB / 365.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.04859, allocations: 5.546 MB / 371.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.04859, allocations: 4.031 kB / 371.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.05032, allocations: 1.666 MB / 372.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.05059, allocations: 179.3 kB / 372.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.05065, allocations: 24 kB / 372.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.05093, allocations: 31.98 kB / 373 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.05105, allocations: 88.38 kB / 373 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.05109, allocations: 35.98 kB / 373.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004251/0.05151, allocations: 463 kB / 373.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05151, allocations: 0 / 373.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006591/0.05217, allocations: 260 kB / 373.8 MB, free: 13.1 MB / 346.7 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.002048/0.05422, allocations: 2.256 MB / 376 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.0556, allocations: 1.219 MB / 377.3 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.0556, allocations: 0 / 377.3 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007394/0.05634, allocations: 0.94 MB / 378.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/0.05702, allocations: 198.9 kB / 378.4 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.06564, allocations: 8.107 MB / 386.5 MB, free: 32 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.06598, allocations: 446.6 kB / 386.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.06638, allocations: 132 kB / 387.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.06675, allocations: 400.4 kB / 387.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.06675, allocations: 3.938 kB / 387.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04061/0.1074, allocations: 23.33 MB / 410.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/7.998, allocations: 0 / 410.8 MB, free: 7.941 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=1e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.840061770752072]