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.001834/0.001834, allocations: 101.5 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.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.00218/0.00218, allocations: 191.5 kB / 24.49 MB, free: 3.957 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.341/1.341, allocations: 225.7 MB / 253.3 MB, free: 12.87 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.001439/0.001439, allocations: 43.92 kB / 371.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2641, allocations: 52.2 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01187/0.276, allocations: 9.591 MB / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006464/0.2824, allocations: 3.225 MB / 436.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.2838, allocations: 43.75 kB / 436.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.285, allocations: 0.6793 MB / 436.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.2871, allocations: 0.9233 MB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.289, allocations: 0.944 MB / 438.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003869/0.2928, allocations: 3.447 MB / 442.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009137/0.2938, allocations: 0.6097 MB / 442.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.2954, allocations: 1.32 MB / 444.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.2971, allocations: 1.537 MB / 445.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004356/0.2976, allocations: 352 kB / 446 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005665/0.2981, allocations: 384 kB / 446.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006264/0.2988, allocations: 0.7126 MB / 447.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.3001, allocations: 1.19 MB / 448.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.3042, allocations: 4.304 MB / 452.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3042, allocations: 0 / 452.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3042, allocations: 0 / 452.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.91e-05/0.3043, allocations: 0 / 452.6 MB, free: 1.016 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006925/0.3112, allocations: 3.125 MB / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3112, allocations: 8.031 kB / 455.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.009e-05/0.3113, allocations: 52.33 kB / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003576/0.3116, allocations: 295.5 kB / 456.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004973/0.3121, allocations: 307 kB / 456.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.3147, allocations: 1.348 MB / 457.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.3149, allocations: 158 kB / 457.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.3152, allocations: 208 kB / 458.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/0.3193, allocations: 2.018 MB / 460.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.3193, allocations: 0 / 460.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/0.3195, allocations: 87.98 kB / 460.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.3195, allocations: 51.94 kB / 460.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.3236, allocations: 1.91 MB / 462.1 MB, free: 7.254 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.01207/0.3356, allocations: 6.118 MB / 468.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.3392, allocations: 1.988 MB / 470.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.3419, allocations: 1.288 MB / 471.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.342, allocations: 37.98 kB / 471.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/0.3421, allocations: 60.5 kB / 471.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=234): time 4.839e-06/0.3421, allocations: 0 / 471.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=351): time 0.05959/0.4017, allocations: 17.14 MB / 488.8 MB, free: 12.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.4017, allocations: 98.05 kB / 488.9 MB, free: 12.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/0.4043, allocations: 1.84 MB / 490.7 MB, free: 10.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003093/0.4046, allocations: 81.7 kB / 490.8 MB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.4054, allocations: 1.007 MB / 491.8 MB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.4065, allocations: 1.212 MB / 493 MB, free: 8.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009197/0.4074, allocations: 0.4917 MB / 493.5 MB, free: 7.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4075, allocations: 301.1 kB / 493.8 MB, free: 7.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/0.41, allocations: 1.225 MB / 495 MB, free: 6.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002801/0.4128, allocations: 1.525 MB / 496.5 MB, free: 4.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005494/0.4183, allocations: 2.878 MB / 499.4 MB, free: 1.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.4184, allocations: 4 kB / 499.4 MB, free: 1.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01114/0.4295, allocations: 4.413 MB / 0.492 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.4295, allocations: 7.938 kB / 0.492 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.4296, allocations: 4 kB / 0.492 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005749/0.4353, allocations: 1.326 MB / 0.4933 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.4381, allocations: 0.5227 MB / 0.4938 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02811/0.4662, allocations: 19.57 MB / 0.513 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.4688, allocations: 99.94 kB / 0.513 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.4691, allocations: 116 kB / 0.5132 GB, free: 6.598 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.001386/0.4704, allocations: 0.5794 MB / 0.5137 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.4709, allocations: 266.3 kB / 0.514 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.4812, allocations: 4.349 MB / 0.5182 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.4812, allocations: 36 kB / 0.5183 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4812, allocations: 0 / 0.5183 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/0.4813, allocations: 19.94 kB / 0.5183 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.4972, allocations: 7.564 MB / 0.5257 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.4972, allocations: 0 / 0.5257 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/0.4996, allocations: 463.6 kB / 0.5261 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005049/0.5046, allocations: 1.251 MB / 0.5273 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/0.5048, allocations: 67.98 kB / 0.5274 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2154/0.7202, allocations: 18.15 MB / 0.5451 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7202, allocations: 7.906 kB / 0.5451 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.7316, allocations: 6.073 MB / 0.5511 GB, free: 98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.7327, allocations: 0.5498 MB / 0.5516 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.7331, allocations: 59.16 kB / 0.5517 GB, free: 97.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.7348, allocations: 115.4 kB / 0.5518 GB, free: 97.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006146/0.7354, allocations: 273.6 kB / 0.552 GB, free: 97.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/0.7356, allocations: 92.41 kB / 0.5521 GB, free: 97.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.7369, allocations: 1.286 MB / 0.5534 GB, free: 97.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7369, allocations: 0 / 0.5534 GB, free: 97.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002329/0.7393, allocations: 0.867 MB / 0.5542 GB, free: 96.51 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.01172/0.751, allocations: 6.989 MB / 0.561 GB, free: 90.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00608/0.7571, allocations: 4.281 MB / 0.5652 GB, free: 86.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7571, allocations: 0 / 0.5652 GB, free: 86.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003632/0.7607, allocations: 2.851 MB / 0.568 GB, free: 83.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.7627, allocations: 381.5 kB / 0.5684 GB, free: 83.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03643/0.7991, allocations: 23.46 MB / 0.5913 GB, free: 59.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/0.8, allocations: 1.14 MB / 0.5924 GB, free: 58.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001387/0.8014, allocations: 292.1 kB / 0.5927 GB, free: 58.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.8027, allocations: 1.046 MB / 0.5937 GB, free: 57.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.8027, allocations: 3.938 kB / 0.5937 GB, free: 57.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/0.9281, allocations: 78.44 MB / 0.6703 GB, free: 11.24 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.14/21.07, allocations: 4.062 kB / 0.6703 GB, free: 11.23 MB / 478.1 MB " [Timeout remaining time 639] (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.123526328010485]