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.001331/0.001331, allocations: 82.72 kB / 21.99 MB, free: 4.754 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.001359/0.001359, allocations: 153.4 kB / 25.25 MB, free: 2.742 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.291/1.291, allocations: 158.6 MB / 187 MB, free: 6.355 MB / 174.1 MB " [Timeout remaining time 179] 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.001743/0.001743, allocations: 63.91 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.198, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01152/0.2096, allocations: 9.484 MB / 358 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.2152, allocations: 3.176 MB / 361.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008211/0.216, allocations: 43.75 kB / 361.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2171, allocations: 0.691 MB / 361.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.2189, allocations: 0.9116 MB / 362.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2205, allocations: 0.9285 MB / 363.7 MB, free: 252 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00342/0.2239, allocations: 3.455 MB / 367.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008712/0.2248, allocations: 0.5512 MB / 367.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.2263, allocations: 1.324 MB / 369.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.228, allocations: 1.365 MB / 370.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004208/0.2284, allocations: 348 kB / 370.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005539/0.229, allocations: 395.9 kB / 371.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000604/0.2296, allocations: 0.7048 MB / 371.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.2308, allocations: 1.198 MB / 373.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.235, allocations: 4.299 MB / 377.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.235, allocations: 3.938 kB / 377.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.235, allocations: 0 / 377.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.316e-05/0.235, allocations: 0 / 377.4 MB, free: 2.543 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.007164/0.2422, allocations: 3.123 MB / 380.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2422, allocations: 11.98 kB / 380.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004669/0.2427, allocations: 307 kB / 380.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.2453, allocations: 1.344 MB / 382.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.2455, allocations: 156.5 kB / 382.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.2458, allocations: 212.1 kB / 382.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.2495, allocations: 2.022 MB / 384.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/0.2496, allocations: 3.938 kB / 384.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.2498, allocations: 84 kB / 384.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.2498, allocations: 52 kB / 384.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004071/0.2539, allocations: 1.898 MB / 386.6 MB, free: 9.148 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.01134/0.2652, allocations: 5.889 MB / 392.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.2687, allocations: 1.988 MB / 394.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.2715, allocations: 1.288 MB / 395.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.2716, allocations: 37.98 kB / 395.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.2716, allocations: 56.56 kB / 395.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 5.179e-06/0.2717, allocations: 4 kB / 395.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.06195/0.3336, allocations: 17.12 MB / 412.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.3337, allocations: 90.17 kB / 413 MB, free: 14.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.3364, allocations: 1.819 MB / 414.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.3367, allocations: 81.7 kB / 414.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000804/0.3375, allocations: 0.9829 MB / 415.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.3386, allocations: 1.216 MB / 417.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.3396, allocations: 499.5 kB / 417.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3398, allocations: 305.1 kB / 417.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/0.3424, allocations: 1.225 MB / 419.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/0.3452, allocations: 1.525 MB / 420.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00569/0.3509, allocations: 2.878 MB / 423.5 MB, free: 3.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.3509, allocations: 4 kB / 423.5 MB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01064/0.3616, allocations: 4.41 MB / 428 MB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3616, allocations: 8 kB / 428 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.3616, allocations: 7.938 kB / 428 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005335/0.367, allocations: 1.327 MB / 429.3 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.3696, allocations: 0.5227 MB / 429.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02799/0.3976, allocations: 19.38 MB / 449.2 MB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.4, allocations: 112 kB / 449.3 MB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004283/0.4004, allocations: 104 kB / 449.4 MB, free: 9.051 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.00136/0.4018, allocations: 0.5793 MB / 450 MB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005773/0.4023, allocations: 266.3 kB / 450.2 MB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.4132, allocations: 4.352 MB / 454.6 MB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/0.4132, allocations: 32 kB / 454.6 MB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.4132, allocations: 8 kB / 454.6 MB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-05/0.4133, allocations: 15.94 kB / 454.7 MB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.4299, allocations: 7.295 MB / 462 MB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.4299, allocations: 7.938 kB / 462 MB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/0.4324, allocations: 459.7 kB / 462.4 MB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005274/0.4377, allocations: 1.256 MB / 463.7 MB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002962/0.438, allocations: 71.91 kB / 463.7 MB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1993/0.6373, allocations: 17.98 MB / 481.7 MB, free: 104.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6373, allocations: 4.016 kB / 481.7 MB, free: 104.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.6491, allocations: 6.069 MB / 487.8 MB, free: 101.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.6503, allocations: 0.5464 MB / 488.3 MB, free: 101.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.6505, allocations: 61.17 kB / 488.4 MB, free: 101.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.6522, allocations: 118.3 kB / 488.5 MB, free: 101.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005915/0.6528, allocations: 264 kB / 488.8 MB, free: 101.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/0.653, allocations: 95.22 kB / 488.9 MB, free: 101.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001311/0.6543, allocations: 1.257 MB / 490.1 MB, free: 100.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6543, allocations: 0 / 490.1 MB, free: 100.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002402/0.6567, allocations: 0.8618 MB / 491 MB, free: 100.2 MB / 430.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.001514/0.6582, allocations: 477.2 kB / 491.4 MB, free: 99.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006418/0.6647, allocations: 4.279 MB / 495.7 MB, free: 95.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6647, allocations: 0 / 495.7 MB, free: 95.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003831/0.6685, allocations: 2.843 MB / 498.6 MB, free: 93.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.6703, allocations: 368 kB / 498.9 MB, free: 92.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.6781, allocations: 5.676 MB / 0.4928 GB, free: 87.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/0.6791, allocations: 1.148 MB / 0.4939 GB, free: 86.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001321/0.6804, allocations: 280.5 kB / 0.4942 GB, free: 86.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/0.681, allocations: 162.1 kB / 0.4943 GB, free: 86.44 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.681, allocations: 0 / 0.4943 GB, free: 86.44 MB / 430.1 MB Notification: Performance of Templates: time 0.0622/0.7432, allocations: 52.08 MB / 0.5452 GB, free: 34.42 MB / 430.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 -s ida -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/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: 7.44207832403481]