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.001448/0.001448, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.001732/0.001732, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.507/1.507, allocations: 207.6 MB / 235.3 MB, free: 9.988 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: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") [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.001902/0.001902, allocations: 57.64 kB / 347.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2907, allocations: 49.15 MB / 396.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01069/0.3014, allocations: 11.07 MB / 407.9 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007315/0.3088, allocations: 3.239 MB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.3114, allocations: 47.19 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.313, allocations: 0.6837 MB / 411.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.3162, allocations: 0.9068 MB / 412.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.3185, allocations: 0.9224 MB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005276/0.3237, allocations: 3.449 MB / 417.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.3249, allocations: 0.6105 MB / 417.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.3271, allocations: 1.311 MB / 419.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.3295, allocations: 1.542 MB / 420.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.33, allocations: 349.4 kB / 421 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007222/0.3307, allocations: 379.7 kB / 421.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006679/0.3314, allocations: 0.7175 MB / 422.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.333, allocations: 1.476 MB / 423.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004951/0.3379, allocations: 4.269 MB / 427.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.338, allocations: 5.25 kB / 427.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.338, allocations: 3.938 kB / 427.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.551e-05/0.338, allocations: 0 / 427.8 MB, free: 4.004 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.0081/0.3461, allocations: 3.118 MB / 430.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3462, allocations: 19.98 kB / 430.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.3467, allocations: 307 kB / 431.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.3497, allocations: 1.344 MB / 432.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.3498, allocations: 156.5 kB / 432.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.3501, allocations: 216.1 kB / 433 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004263/0.3544, allocations: 1.885 MB / 434.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.3545, allocations: 7.875 kB / 434.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.3547, allocations: 91.83 kB / 434.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.3547, allocations: 48 kB / 435 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004289/0.359, allocations: 1.91 MB / 436.9 MB, free: 11.07 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.01403/0.373, allocations: 7.265 MB / 444.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/0.3768, allocations: 2.006 MB / 446.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002876/0.3797, allocations: 1.292 MB / 447.5 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.3799, allocations: 33.97 kB / 447.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.3799, allocations: 60.55 kB / 447.5 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.078e-06/0.3799, allocations: 0 / 447.5 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.0632/0.4431, allocations: 17.13 MB / 464.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.4432, allocations: 86.17 kB / 464.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.4459, allocations: 1.844 MB / 466.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.4462, allocations: 81.7 kB / 466.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000898/0.4471, allocations: 0.9987 MB / 467.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.4483, allocations: 1.216 MB / 468.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009188/0.4492, allocations: 0.4917 MB / 469.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4493, allocations: 309.1 kB / 469.7 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/0.4521, allocations: 1.221 MB / 470.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.455, allocations: 1.525 MB / 472.4 MB, free: 7.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005763/0.4608, allocations: 2.882 MB / 475.3 MB, free: 4.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.4608, allocations: 0 / 475.3 MB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01129/0.4721, allocations: 4.413 MB / 479.7 MB, free: 15.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.4721, allocations: 12 kB / 479.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.4721, allocations: 4 kB / 479.8 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005668/0.4778, allocations: 1.322 MB / 481.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/0.4806, allocations: 0.5305 MB / 481.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03005/0.5106, allocations: 19.88 MB / 0.4897 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.5135, allocations: 103.9 kB / 0.4898 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003368/0.5139, allocations: 111.9 kB / 0.4899 GB, free: 8.801 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.001363/0.5152, allocations: 0.5794 MB / 0.4905 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.5157, allocations: 262.3 kB / 0.4908 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.5266, allocations: 4.357 MB / 0.495 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/0.5266, allocations: 32 kB / 0.495 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.5266, allocations: 11.94 kB / 0.4951 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.392e-05/0.5267, allocations: 15.94 kB / 0.4951 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/0.5445, allocations: 8.299 MB / 0.5032 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.5445, allocations: 3.938 kB / 0.5032 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/0.5469, allocations: 463.3 kB / 0.5036 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005505/0.5524, allocations: 1.251 MB / 0.5048 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/0.5527, allocations: 67.98 kB / 0.5049 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02722/0.5799, allocations: 18.49 MB / 0.523 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5799, allocations: 0 / 0.523 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/0.595, allocations: 6.079 MB / 0.5289 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/0.5966, allocations: 0.5449 MB / 0.5294 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/0.597, allocations: 60 kB / 0.5295 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.5988, allocations: 107.9 kB / 0.5296 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006797/0.5995, allocations: 278.5 kB / 0.5299 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/0.5997, allocations: 91.97 kB / 0.5299 GB, free: 14.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001945/0.6016, allocations: 1.282 MB / 0.5312 GB, free: 13.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6016, allocations: 0 / 0.5312 GB, free: 13.37 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002965/0.6046, allocations: 0.8711 MB / 0.532 GB, free: 12.5 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.001631/0.6062, allocations: 452.5 kB / 0.5325 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008999/0.6152, allocations: 4.281 MB / 0.5367 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.6152, allocations: 0 / 0.5367 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005454/0.6207, allocations: 2.848 MB / 0.5394 GB, free: 4.711 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.623, allocations: 377.6 kB / 0.5398 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.6338, allocations: 5.696 MB / 0.5454 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.6355, allocations: 1.71 MB / 0.547 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00164/0.6371, allocations: 292.1 kB / 0.5473 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.6378, allocations: 155.4 kB / 0.5475 GB, free: 12.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.001e-06/0.6378, allocations: 3.938 kB / 0.5475 GB, free: 12.38 MB / 478.1 MB Notification: Performance of Templates: time 0.2801/0.9179, allocations: 55.88 MB / 0.602 GB, free: 120.3 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","/var/lib/jenkins/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: 8.287018586881459]