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.001349/0.001349, allocations: 109.6 kB / 21.18 MB, free: 0.5586 MB / 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.001654/0.001654, allocations: 212.6 kB / 24.49 MB, free: 3.91 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.498/1.498, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.002528/0.002528, allocations: 51.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3808, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.0154/0.3962, allocations: 11.07 MB / 407.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.4069, allocations: 3.227 MB / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002837/0.4098, allocations: 46.66 kB / 410.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.4124, allocations: 0.6839 MB / 411.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.4174, allocations: 0.9143 MB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.4213, allocations: 0.9266 MB / 413.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008848/0.4301, allocations: 3.453 MB / 416.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.4324, allocations: 0.6 MB / 417.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.4357, allocations: 1.32 MB / 418.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/0.4391, allocations: 1.533 MB / 420.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.4402, allocations: 351.2 kB / 420.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.4418, allocations: 386.1 kB / 420.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.443, allocations: 0.7139 MB / 421.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003278/0.4463, allocations: 1.476 MB / 423 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007044/0.4533, allocations: 4.274 MB / 427.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.4533, allocations: 4 kB / 427.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4533, allocations: 0 / 427.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001923/0.4535, allocations: 1.5 kB / 427.3 MB, free: 3.625 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.01107/0.4646, allocations: 3.123 MB / 430.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.4647, allocations: 11.98 kB / 430.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009844/0.4656, allocations: 287.6 kB / 430.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.4668, allocations: 307 kB / 431 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.4703, allocations: 1.348 MB / 432.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.4704, allocations: 160.5 kB / 432.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003265/0.4708, allocations: 211.8 kB / 432.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/0.4748, allocations: 1.889 MB / 434.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.4748, allocations: 0 / 434.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.475, allocations: 88 kB / 434.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.4751, allocations: 48 kB / 434.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.4792, allocations: 1.906 MB / 436.7 MB, free: 10.73 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.01364/0.4929, allocations: 7.28 MB / 443.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.4966, allocations: 1.994 MB / 445.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002774/0.4993, allocations: 1.296 MB / 447.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.4995, allocations: 45.91 kB / 447.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.4995, allocations: 56.56 kB / 447.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 4.178e-06/0.4995, allocations: 0 / 447.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.06349/0.563, allocations: 17.13 MB / 464.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.5631, allocations: 86.17 kB / 464.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.5661, allocations: 1.836 MB / 466.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004433/0.5665, allocations: 81.7 kB / 466.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008834/0.5674, allocations: 1.003 MB / 467.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.5686, allocations: 1.212 MB / 468.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008959/0.5695, allocations: 0.4956 MB / 469.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.5696, allocations: 313.1 kB / 469.5 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002598/0.5722, allocations: 1.221 MB / 470.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.575, allocations: 1.525 MB / 472.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006034/0.5811, allocations: 2.882 MB / 475.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.5811, allocations: 0 / 475.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01178/0.5929, allocations: 4.421 MB / 479.5 MB, free: 15.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.5929, allocations: 8 kB / 479.5 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.5929, allocations: 4 kB / 479.5 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/0.5987, allocations: 1.322 MB / 480.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.6014, allocations: 0.5227 MB / 481.4 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03078/0.6322, allocations: 19.88 MB / 0.4895 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.635, allocations: 111.9 kB / 0.4896 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005797/0.6356, allocations: 108 kB / 0.4897 GB, free: 8.453 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.002015/0.6376, allocations: 0.5716 MB / 0.4903 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008676/0.6385, allocations: 266.3 kB / 0.4905 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.6505, allocations: 4.349 MB / 0.4948 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.045e-05/0.6505, allocations: 39.94 kB / 0.4948 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/0.6505, allocations: 4 kB / 0.4948 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.233e-05/0.6506, allocations: 19.92 kB / 0.4948 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/0.6698, allocations: 8.299 MB / 0.503 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/0.6699, allocations: 4 kB / 0.503 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002608/0.6725, allocations: 463.6 kB / 0.5034 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005482/0.678, allocations: 1.251 MB / 0.5046 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003938/0.6783, allocations: 71.97 kB / 0.5047 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02858/0.7069, allocations: 18.48 MB / 0.5227 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.7069, allocations: 3.938 kB / 0.5227 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/0.7228, allocations: 6.087 MB / 0.5287 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/0.7249, allocations: 0.5449 MB / 0.5292 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008857/0.7258, allocations: 60 kB / 0.5293 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/0.7282, allocations: 115.9 kB / 0.5294 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009523/0.7291, allocations: 266.7 kB / 0.5296 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000345/0.7295, allocations: 95.91 kB / 0.5297 GB, free: 14.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003031/0.7325, allocations: 1.282 MB / 0.531 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7325, allocations: 4 kB / 0.531 GB, free: 13.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004564/0.7371, allocations: 0.8749 MB / 0.5318 GB, free: 12.14 MB / 462.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.01656/0.7536, allocations: 6.96 MB / 0.5386 GB, free: 5.043 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009176/0.7628, allocations: 4.281 MB / 0.5428 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.7628, allocations: 0 / 0.5428 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005622/0.7684, allocations: 2.844 MB / 0.5456 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.7715, allocations: 381.6 kB / 0.546 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2916/1.063, allocations: 23.46 MB / 0.5689 GB, free: 144.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/1.065, allocations: 1.708 MB / 0.5705 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0018/1.067, allocations: 287.9 kB / 0.5708 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.068, allocations: 1.043 MB / 0.5718 GB, free: 143.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.984e-06/1.068, allocations: 0 / 0.5718 GB, free: 143.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/1.237, allocations: 79.4 MB / 0.6494 GB, free: 75.42 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.25/23.49, allocations: 7.922 kB / 0.6494 GB, free: 75.41 MB / 478.1 MB " [Timeout remaining time 636] (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: 27.2819149910938]