Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.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.001485/0.001485, allocations: 107.2 kB / 21.22 MB, free: 0.7344 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.001383/0.001383, allocations: 187.5 kB / 24.51 MB, free: 4.086 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.399/1.399, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 47.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2815, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01497/0.2965, allocations: 11.19 MB / 434.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009015/0.3055, allocations: 3.301 MB / 437.9 MB, free: 64 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.3082, allocations: 47.75 kB / 438 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.3101, allocations: 0.6715 MB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003982/0.3141, allocations: 0.9233 MB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.3165, allocations: 0.9323 MB / 440.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.3216, allocations: 3.451 MB / 443.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.3227, allocations: 0.6098 MB / 444.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.3252, allocations: 1.312 MB / 445.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.3282, allocations: 1.541 MB / 447.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006175/0.3288, allocations: 348 kB / 447.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000789/0.3296, allocations: 384 kB / 448.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.3303, allocations: 0.7125 MB / 448.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.3323, allocations: 1.481 MB / 450.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004989/0.3373, allocations: 4.273 MB / 454.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3373, allocations: 4 kB / 454.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3373, allocations: 0 / 454.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.487e-05/0.3374, allocations: 0 / 454.6 MB, free: 15.3 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007609/0.345, allocations: 3.115 MB / 457.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3451, allocations: 12.03 kB / 457.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.493e-05/0.3452, allocations: 52.33 kB / 457.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003746/0.3455, allocations: 291.5 kB / 458 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005651/0.3461, allocations: 307 kB / 458.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.3491, allocations: 1.355 MB / 459.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.3492, allocations: 160.3 kB / 459.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/0.3496, allocations: 208 kB / 460.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.3534, allocations: 1.885 MB / 461.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.3535, allocations: 7.953 kB / 462 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.3536, allocations: 84 kB / 462 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.3537, allocations: 52 kB / 462.1 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/0.3578, allocations: 1.91 MB / 464 MB, free: 5.703 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.3731, allocations: 7.281 MB / 471.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/0.377, allocations: 1.979 MB / 473.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.3798, allocations: 1.292 MB / 474.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.38, allocations: 45.89 kB / 474.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.38, allocations: 56.56 kB / 474.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=234): time 3.937e-06/0.38, allocations: 0 / 474.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=351): time 0.06193/0.442, allocations: 17.14 MB / 491.8 MB, free: 9.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.4421, allocations: 86.17 kB / 491.9 MB, free: 9.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.4451, allocations: 1.848 MB / 493.7 MB, free: 7.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006182/0.4457, allocations: 81.7 kB / 493.8 MB, free: 7.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009438/0.4466, allocations: 0.9949 MB / 494.8 MB, free: 6.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001544/0.4482, allocations: 1.216 MB / 496 MB, free: 5.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009579/0.4491, allocations: 0.4917 MB / 496.5 MB, free: 4.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4493, allocations: 317 kB / 496.8 MB, free: 4.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.452, allocations: 1.209 MB / 498 MB, free: 3.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/0.4553, allocations: 1.537 MB / 499.6 MB, free: 1.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005486/0.4607, allocations: 2.874 MB / 0.4907 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4607, allocations: 0 / 0.4907 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01088/0.4716, allocations: 4.425 MB / 0.495 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.4717, allocations: 8 kB / 0.495 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.4717, allocations: 4 kB / 0.495 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005256/0.4769, allocations: 1.322 MB / 0.4963 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.4796, allocations: 0.5266 MB / 0.4968 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02876/0.5084, allocations: 19.89 MB / 0.5162 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.5109, allocations: 111.9 kB / 0.5163 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/0.5112, allocations: 112 kB / 0.5164 GB, free: 3.422 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001184/0.5124, allocations: 0.5754 MB / 0.517 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/0.5128, allocations: 262.3 kB / 0.5172 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/0.5233, allocations: 4.357 MB / 0.5215 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/0.5233, allocations: 35.94 kB / 0.5215 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.5233, allocations: 4 kB / 0.5215 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.191e-05/0.5233, allocations: 15.94 kB / 0.5215 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/0.5413, allocations: 8.288 MB / 0.5296 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5413, allocations: 0 / 0.5296 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/0.5438, allocations: 463.6 kB / 0.5301 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005198/0.549, allocations: 1.263 MB / 0.5313 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005658/0.5495, allocations: 67.98 kB / 0.5314 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2249/0.7745, allocations: 18.48 MB / 0.5494 GB, free: 98.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7745, allocations: 6.188 kB / 0.5494 GB, free: 98.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.7851, allocations: 6.076 MB / 0.5554 GB, free: 95.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.7863, allocations: 0.5525 MB / 0.5559 GB, free: 95.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/0.7866, allocations: 59.69 kB / 0.556 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.7881, allocations: 114.8 kB / 0.5561 GB, free: 95.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000594/0.7887, allocations: 266.1 kB / 0.5563 GB, free: 95.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/0.7889, allocations: 97 kB / 0.5564 GB, free: 95.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.7902, allocations: 1.291 MB / 0.5577 GB, free: 94.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7902, allocations: 0 / 0.5577 GB, free: 94.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002176/0.7924, allocations: 0.8619 MB / 0.5585 GB, free: 93.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01189/0.8042, allocations: 6.962 MB / 0.5653 GB, free: 87.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006509/0.8108, allocations: 4.286 MB / 0.5695 GB, free: 83.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8108, allocations: 3.391 kB / 0.5695 GB, free: 83.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003644/0.8144, allocations: 2.834 MB / 0.5723 GB, free: 80.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.8162, allocations: 379.8 kB / 0.5726 GB, free: 80.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0352/0.8514, allocations: 23.48 MB / 0.5956 GB, free: 56.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.8525, allocations: 1.702 MB / 0.5972 GB, free: 54.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001498/0.854, allocations: 292.1 kB / 0.5975 GB, free: 54.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.8552, allocations: 1.05 MB / 0.5985 GB, free: 53.2 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8552, allocations: 0 / 0.5985 GB, free: 53.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1751/1.03, allocations: 79.43 MB / 0.6761 GB, free: 6.164 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.67/21.7, allocations: 12.52 kB / 0.6761 GB, free: 6.152 MB / 478.1 MB " [Timeout remaining time 638] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.93988097301917]