Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.001757/0.001757, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.00189/0.00189, allocations: 216 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 55.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2547, allocations: 49.16 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01043/0.2651, allocations: 9.487 MB / 405.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006798/0.2719, allocations: 3.176 MB / 409 MB, free: 304 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.274, allocations: 47.38 kB / 409.1 MB, free: 288 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.2753, allocations: 0.684 MB / 409.7 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.2778, allocations: 0.9069 MB / 410.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.2799, allocations: 0.9285 MB / 411.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004407/0.2843, allocations: 3.45 MB / 415 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009395/0.2852, allocations: 0.5565 MB / 415.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.2871, allocations: 1.322 MB / 416.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.2892, allocations: 1.374 MB / 418.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004961/0.2897, allocations: 349.1 kB / 418.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.2904, allocations: 384.3 kB / 419 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.291, allocations: 0.7086 MB / 419.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.2924, allocations: 1.193 MB / 420.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.297, allocations: 4.303 MB / 425.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.297, allocations: 5.156 kB / 425.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.297, allocations: 0 / 425.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.928e-05/0.2971, allocations: 0 / 425.2 MB, free: 5.75 MB / 334.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.007304/0.3044, allocations: 3.119 MB / 428.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.3044, allocations: 11.98 kB / 428.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003696/0.3048, allocations: 295.5 kB / 428.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005061/0.3053, allocations: 311 kB / 428.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.3081, allocations: 1.34 MB / 430.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3083, allocations: 160.5 kB / 430.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.3086, allocations: 211.8 kB / 430.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/0.3125, allocations: 2.018 MB / 432.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.3125, allocations: 4 kB / 432.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.3127, allocations: 83.94 kB / 432.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.3127, allocations: 52 kB / 432.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004094/0.3168, allocations: 1.898 MB / 434.7 MB, free: 12.49 MB / 350.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.01257/0.3294, allocations: 6.129 MB / 440.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.3331, allocations: 1.984 MB / 442.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.3361, allocations: 1.296 MB / 444.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3362, allocations: 33.98 kB / 444.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/0.3363, allocations: 60.55 kB / 444.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.569e-06/0.3363, allocations: 0 / 444.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06276/0.399, allocations: 17.13 MB / 461.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.3991, allocations: 86.17 kB / 461.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.4019, allocations: 1.863 MB / 463.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.4021, allocations: 81.7 kB / 463.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008507/0.4029, allocations: 0.9949 MB / 464.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.4041, allocations: 1.22 MB / 465.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009319/0.405, allocations: 0.4956 MB / 466.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4051, allocations: 309.1 kB / 466.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.4078, allocations: 1.213 MB / 467.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/0.4108, allocations: 1.529 MB / 469.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005762/0.4165, allocations: 2.878 MB / 472 MB, free: 6.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.4166, allocations: 0 / 472 MB, free: 6.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.0111/0.4277, allocations: 4.417 MB / 476.4 MB, free: 2.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.4277, allocations: 8 kB / 476.4 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.4277, allocations: 4 kB / 476.4 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005462/0.4332, allocations: 1.326 MB / 477.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/0.436, allocations: 0.5266 MB / 478.3 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03058/0.4666, allocations: 19.55 MB / 497.8 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003144/0.4697, allocations: 111.9 kB / 497.9 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/0.4701, allocations: 107.9 kB / 498 MB, free: 11.82 MB / 414.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.001387/0.4715, allocations: 0.5797 MB / 498.6 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005208/0.472, allocations: 270.3 kB / 498.9 MB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.4828, allocations: 4.353 MB / 0.4914 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/0.4829, allocations: 35.94 kB / 0.4915 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.4829, allocations: 4 kB / 0.4915 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-05/0.4829, allocations: 15.94 kB / 0.4915 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.5006, allocations: 7.564 MB / 0.4989 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.5007, allocations: 4 kB / 0.4989 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/0.5031, allocations: 459.3 kB / 0.4993 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005425/0.5085, allocations: 1.243 MB / 0.5005 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005473/0.5091, allocations: 79.97 kB / 0.5006 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0274/0.5365, allocations: 18.15 MB / 0.5183 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5365, allocations: 7.875 kB / 0.5183 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.5513, allocations: 6.071 MB / 0.5243 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/0.5531, allocations: 0.5488 MB / 0.5248 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/0.5535, allocations: 60 kB / 0.5249 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/0.5553, allocations: 115.9 kB / 0.525 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007242/0.556, allocations: 274.6 kB / 0.5252 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/0.5562, allocations: 83.98 kB / 0.5253 GB, free: 2.754 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.5583, allocations: 1.29 MB / 0.5266 GB, free: 1.473 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5583, allocations: 0 / 0.5266 GB, free: 1.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002934/0.5612, allocations: 0.8671 MB / 0.5274 GB, free: 0.6055 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.01539/0.5766, allocations: 6.991 MB / 0.5342 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008869/0.5854, allocations: 4.289 MB / 0.5384 GB, free: 5.082 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.5854, allocations: 0 / 0.5384 GB, free: 5.082 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005576/0.591, allocations: 2.84 MB / 0.5412 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.5932, allocations: 385.6 kB / 0.5416 GB, free: 1.773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2292/0.8224, allocations: 23.45 MB / 0.5645 GB, free: 145.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.8239, allocations: 1.145 MB / 0.5656 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001832/0.8257, allocations: 286.3 kB / 0.5659 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/0.8271, allocations: 1.048 MB / 0.5669 GB, free: 145.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8271, allocations: 0 / 0.5669 GB, free: 145.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1408/0.9679, allocations: 78.01 MB / 0.6431 GB, free: 81.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/17.97, allocations: 18.61 kB / 0.6431 GB, free: 81.11 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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: 21.78822111384943]