Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.391/1.391, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.84 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2158, allocations: 53.32 MB / 432.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01318/0.229, allocations: 11.5 MB / 443.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00658/0.2355, allocations: 3.539 MB / 447.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.2368, allocations: 39.88 kB / 447.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.2381, allocations: 0.6948 MB / 447.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.2405, allocations: 1.005 MB / 448.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.2423, allocations: 0.9361 MB / 449.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003959/0.2463, allocations: 3.552 MB / 453.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009297/0.2472, allocations: 0.598 MB / 453.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.2487, allocations: 1.331 MB / 455.3 MB, free: 108 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.2506, allocations: 1.584 MB / 456.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.251, allocations: 356 kB / 457.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.2515, allocations: 396 kB / 457.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006106/0.2521, allocations: 0.732 MB / 458.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.2535, allocations: 1.528 MB / 459.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.2577, allocations: 4.421 MB / 464.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2577, allocations: 0 / 464.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2577, allocations: 4 kB / 464.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.808e-05/0.2578, allocations: 0 / 464.3 MB, free: 7.07 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.006704/0.2645, allocations: 3.288 MB / 467.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2645, allocations: 8.031 kB / 467.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.2655, allocations: 374.9 kB / 467.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.2681, allocations: 1.483 MB / 469.4 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.2682, allocations: 156.2 kB / 469.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/0.2685, allocations: 204 kB / 469.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/0.272, allocations: 1.878 MB / 471.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/0.272, allocations: 3.953 kB / 471.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.2722, allocations: 84 kB / 471.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.2723, allocations: 48 kB / 471.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.2761, allocations: 1.871 MB / 473.6 MB, free: 13.49 MB / 382.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.01218/0.2882, allocations: 7.458 MB / 481.1 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/0.2919, allocations: 2.139 MB / 483.2 MB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002694/0.2946, allocations: 1.269 MB / 484.5 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.2947, allocations: 41.95 kB / 484.5 MB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.2947, allocations: 60.56 kB / 484.6 MB, free: 2.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.468e-06/0.2948, allocations: 0 / 484.6 MB, free: 2.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06117/0.3559, allocations: 17.73 MB / 0.4906 GB, free: 272 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.356, allocations: 86.2 kB / 0.4906 GB, free: 172 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.3588, allocations: 1.988 MB / 0.4926 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.359, allocations: 85.7 kB / 0.4927 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008627/0.3598, allocations: 1.035 MB / 0.4937 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.3609, allocations: 1.231 MB / 0.4949 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009205/0.3618, allocations: 0.4957 MB / 0.4954 GB, free: 11.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3619, allocations: 309.1 kB / 0.4957 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/0.3644, allocations: 1.193 MB / 0.4968 GB, free: 9.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.3672, allocations: 1.506 MB / 0.4983 GB, free: 8.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/0.3727, allocations: 2.859 MB / 0.5011 GB, free: 5.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3727, allocations: 7.875 kB / 0.5011 GB, free: 5.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01075/0.3834, allocations: 4.406 MB / 0.5054 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3834, allocations: 4 kB / 0.5054 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.3834, allocations: 4 kB / 0.5054 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005607/0.3891, allocations: 1.35 MB / 0.5067 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.3917, allocations: 0.5149 MB / 0.5072 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02875/0.4205, allocations: 20.69 MB / 0.5274 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.4227, allocations: 87.97 kB / 0.5275 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/0.423, allocations: 112 kB / 0.5276 GB, free: 9.043 MB / 446.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 (302): * Single equations (assignments): 295 * 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.001266/0.4243, allocations: 0.5911 MB / 0.5282 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005384/0.4248, allocations: 278.2 kB / 0.5285 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.4354, allocations: 4.324 MB / 0.5327 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/0.4355, allocations: 19.92 kB / 0.5327 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4355, allocations: 4 kB / 0.5327 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.4368, allocations: 0.6396 MB / 0.5333 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004605/0.4372, allocations: 60 kB / 0.5334 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.439, allocations: 91.95 kB / 0.5335 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005453/0.4396, allocations: 286.3 kB / 0.5337 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1843/0.6239, allocations: 4.282 MB / 0.5379 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007896/0.6318, allocations: 4.964 MB / 0.5428 GB, free: 97.58 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002159/0.6339, allocations: 1.284 MB / 0.544 GB, free: 97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.6359, allocations: 1.382 MB / 0.5454 GB, free: 96.46 MB / 446.1 MB Notification: Performance of Backend: time 3.3e-07/0.6359, allocations: 0 / 0.5454 GB, free: 96.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007081/0.643, allocations: 3.622 MB / 0.5489 GB, free: 94.62 MB / 446.1 MB Notification: Performance of SimCode: time 0.007137/0.6501, allocations: 6.398 MB / 0.5552 GB, free: 91.3 MB / 446.1 MB Notification: Performance of Templates: time 0.06674/0.7169, allocations: 58.19 MB / 0.612 GB, free: 36.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.748846346978098] Failed to read output from testmodel.py, exit status != 0: ['time', 'comparisonWithFEA.y[1]', 'comparisonWithFEA.y[2]', 'comparisonWithFEA.y[3]', 'advancedFeed_x.v', 'advancedSolenoid.g_mFeArm.Phi', 'advancedSolenoid.L_statTot', 'advancedSolenoid.c_par1.v', 'advancedSolenoid.c_par2.v', 'advancedSolenoid.x', 'advancedSolenoid.armature.flange_a.f', 'advancedSolenoid.coil1.i', 'advancedSolenoid.coil1.Phi', 'advancedSolenoid.coil2.i', 'advancedSolenoid.coil2.Phi', 'advancedSolenoid.g_mLeak1.port_p.Phi', 'advancedSolenoid.g_mLeak2.port_p.Phi', 'advancedSolenoid.g_mLeak3.port_p.Phi', 'advancedSolenoid.g_mLeakWork.port_p.Phi', 'simpleFeed_x.v', 'simpleSolenoid.armature.flange_a.f', 'simpleSolenoid.g_mFeArm.Phi', 'simpleSolenoid.x', 'simpleSolenoid.coil.i', 'simpleSolenoid.coil.Phi', 'simpleSolenoid.coil.L_stat', 'simpleSolenoid.g_mLeak1.port_p.Phi', 'simpleSolenoid.g_mLeak2.port_p.Phi', 'simpleSolenoid.g_mLeakWork.port_p.Phi'] 0.7245080582797527 0.733110369 0.47318842600000005 Calling exit ...