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.0009971/0.0009971, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001598/0.001598, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.9453/0.9453, allocations: 173.4 MB / 200.5 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.687e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.009008/0.009035, allocations: 9.607 MB / 328 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0074/0.01644, allocations: 3.252 MB / 331.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.01772, allocations: 51.75 kB / 331.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.01868, allocations: 0.6909 MB / 332 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.02048, allocations: 0.9383 MB / 333 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.0218, allocations: 0.9543 MB / 333.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.02529, allocations: 3.546 MB / 337.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009603/0.02625, allocations: 0.5512 MB / 338 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/0.02888, allocations: 1.965 MB / 340 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.03041, allocations: 1.192 MB / 341.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005111/0.03092, allocations: 352 kB / 341.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.03145, allocations: 387.9 kB / 341.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005047/0.03195, allocations: 0.7202 MB / 342.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.03308, allocations: 0.9937 MB / 343.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.0366, allocations: 4.389 MB / 348 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.0366, allocations: 0 / 348 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.0366, allocations: 0 / 348 MB, free: 8.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.186e-05/0.0367, allocations: 0 / 348 MB, free: 8.66 MB / 314.7 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.004722/0.04142, allocations: 3.095 MB / 351.1 MB, free: 5.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.04147, allocations: 8.922 kB / 351.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002631/0.04174, allocations: 291.6 kB / 351.4 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.0421, allocations: 311 kB / 351.7 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.04397, allocations: 1.343 MB / 353 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.04407, allocations: 160.5 kB / 353.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.04428, allocations: 208.3 kB / 353.4 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.04684, allocations: 2.019 MB / 355.4 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.04689, allocations: 11.94 kB / 355.4 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.04702, allocations: 80 kB / 355.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.04705, allocations: 52 kB / 355.6 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.04951, allocations: 1.898 MB / 357.5 MB, free: 14.99 MB / 330.7 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.007383/0.05689, allocations: 6.124 MB / 363.6 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.05934, allocations: 1.984 MB / 365.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.06093, allocations: 1.303 MB / 366.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.06104, allocations: 37.92 kB / 366.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.06108, allocations: 56.56 kB / 367 MB, free: 5.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=234): time 3.918e-06/0.06108, allocations: 0 / 367 MB, free: 5.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=351): time 0.03155/0.09263, allocations: 17.12 MB / 384.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.0927, allocations: 98.09 kB / 384.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.09456, allocations: 1.855 MB / 386 MB, free: 2.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.0947, allocations: 81.7 kB / 386.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009087/0.0956, allocations: 0.9987 MB / 387.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006965/0.0963, allocations: 1.2 MB / 388.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005833/0.09688, allocations: 0.4956 MB / 388.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.09697, allocations: 301.1 kB / 389.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.09851, allocations: 1.217 MB / 390.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.1002, allocations: 1.529 MB / 391.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.104, allocations: 2.878 MB / 394.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.1041, allocations: 4 kB / 394.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.005959/0.11, allocations: 4.41 MB / 399.1 MB, free: 4.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.11, allocations: 8 kB / 399.1 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.1101, allocations: 8 kB / 399.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.1128, allocations: 1.323 MB / 400.5 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.1141, allocations: 0.5227 MB / 401 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.1313, allocations: 19.55 MB / 420.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.1329, allocations: 107.9 kB / 420.7 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.1331, allocations: 104 kB / 420.8 MB, free: 14.36 MB / 394.7 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.001011/0.1341, allocations: 0.5851 MB / 421.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.1344, allocations: 270.2 kB / 421.6 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006095/0.1405, allocations: 4.349 MB / 426 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.1405, allocations: 36 kB / 426 MB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1405, allocations: 4 kB / 426 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.1405, allocations: 15.94 kB / 426 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009871/0.1504, allocations: 7.56 MB / 433.6 MB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/0.1504, allocations: 0 / 433.6 MB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.1517, allocations: 467.6 kB / 434 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002572/0.1543, allocations: 1.248 MB / 435.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.1544, allocations: 71.97 kB / 435.3 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2008/0.3552, allocations: 18.15 MB / 453.5 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3552, allocations: 9.188 kB / 453.5 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008187/0.3634, allocations: 6.069 MB / 459.6 MB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008536/0.3643, allocations: 0.5476 MB / 460.1 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.3644, allocations: 70.7 kB / 460.2 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.3652, allocations: 107 kB / 460.3 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004262/0.3657, allocations: 272.3 kB / 460.6 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.3658, allocations: 87 kB / 460.6 MB, free: 113.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.3668, allocations: 1.291 MB / 461.9 MB, free: 113.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3668, allocations: 0 / 461.9 MB, free: 113.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001806/0.3686, allocations: 0.8677 MB / 462.8 MB, free: 113.3 MB / 410.7 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.007269/0.3759, allocations: 6.982 MB / 469.8 MB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004149/0.38, allocations: 4.278 MB / 474.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.38, allocations: 4 kB / 474.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.3824, allocations: 2.843 MB / 476.9 MB, free: 101 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.3836, allocations: 385.8 kB / 477.3 MB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/0.4094, allocations: 23.43 MB / 0.489 GB, free: 77.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/0.4101, allocations: 1.148 MB / 0.4901 GB, free: 76.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009261/0.411, allocations: 292.1 kB / 0.4904 GB, free: 76.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008434/0.4119, allocations: 1.043 MB / 0.4914 GB, free: 74.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.314e-06/0.4119, allocations: 0 / 0.4914 GB, free: 74.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08582/0.4977, allocations: 77.88 MB / 0.5674 GB, free: 13.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.34, allocations: 2.922 kB / 0.5675 GB, free: 13.49 MB / 426.7 MB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStatic/ComparisonQuasiStatic.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.893510388210416]