Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.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.001299/0.001299, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001408/0.001408, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+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.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_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_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2308, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01262/0.2434, allocations: 9.881 MB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006471/0.2499, allocations: 3.464 MB / 445.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.251, allocations: 47.75 kB / 445.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.2523, allocations: 0.6948 MB / 446.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.2546, allocations: 1.001 MB / 447.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.2564, allocations: 0.944 MB / 448.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003869/0.2603, allocations: 3.554 MB / 451.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.2613, allocations: 0.6023 MB / 452.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.2631, allocations: 1.367 MB / 453.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.265, allocations: 1.584 MB / 455.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.2654, allocations: 356 kB / 455.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.266, allocations: 392 kB / 456.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.2667, allocations: 0.732 MB / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.268, allocations: 1.233 MB / 458.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004477/0.2724, allocations: 4.451 MB / 462.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2725, allocations: 0 / 462.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2725, allocations: 0 / 462.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.108e-05/0.2725, allocations: 4 kB / 462.6 MB, free: 8.293 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.007636/0.2802, allocations: 3.209 MB / 465.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.2802, allocations: 15.95 kB / 465.9 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.2813, allocations: 366.9 kB / 466.2 MB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.2841, allocations: 1.411 MB / 467.6 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.2843, allocations: 156.2 kB / 467.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.2846, allocations: 204 kB / 468 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.2884, allocations: 1.999 MB / 470 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.643e-05/0.2885, allocations: 7.938 kB / 470 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.2887, allocations: 80 kB / 470.1 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.2887, allocations: 55.98 kB / 470.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003816/0.2925, allocations: 1.847 MB / 472 MB, free: 14.76 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.01211/0.3046, allocations: 5.94 MB / 477.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.3082, allocations: 1.986 MB / 479.9 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002672/0.3109, allocations: 1.26 MB / 481.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.311, allocations: 41.98 kB / 481.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.3111, allocations: 60.5 kB / 481.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.729e-06/0.3111, allocations: 0 / 481.2 MB, free: 5.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06656/0.3777, allocations: 17.26 MB / 498.5 MB, free: 3.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.3777, allocations: 90.2 kB / 498.6 MB, free: 3.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.3806, allocations: 1.96 MB / 0.4888 GB, free: 1.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003065/0.3809, allocations: 81.7 kB / 0.4889 GB, free: 1.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008678/0.3818, allocations: 1.042 MB / 0.4899 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001139/0.3829, allocations: 1.236 MB / 0.4911 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009773/0.3839, allocations: 0.4957 MB / 0.4916 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.384, allocations: 304.9 kB / 0.4919 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.3865, allocations: 1.193 MB / 0.4931 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.3893, allocations: 1.512 MB / 0.4945 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005454/0.3947, allocations: 2.855 MB / 0.4973 GB, free: 8.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.3947, allocations: 0 / 0.4973 GB, free: 8.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01124/0.406, allocations: 4.403 MB / 0.5016 GB, free: 4.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.406, allocations: 14.75 kB / 0.5016 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.406, allocations: 8 kB / 0.5016 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006309/0.4123, allocations: 1.345 MB / 0.503 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/0.4154, allocations: 0.5188 MB / 0.5035 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02898/0.4444, allocations: 19.42 MB / 0.5224 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.4469, allocations: 91.97 kB / 0.5225 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.4472, allocations: 108 kB / 0.5226 GB, free: 14.29 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.001168/0.4484, allocations: 0.5911 MB / 0.5232 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.4488, allocations: 282.2 kB / 0.5235 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.4597, allocations: 4.319 MB / 0.5277 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-05/0.4597, allocations: 19.92 kB / 0.5277 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4597, allocations: 0 / 0.5277 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.4613, allocations: 0.5605 MB / 0.5283 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/0.4617, allocations: 60 kB / 0.5283 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.4636, allocations: 91.89 kB / 0.5284 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006328/0.4642, allocations: 302.1 kB / 0.5287 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01186/0.4761, allocations: 4.245 MB / 0.5328 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1951/0.6712, allocations: 4.954 MB / 0.5377 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0024/0.6736, allocations: 1.283 MB / 0.5389 GB, free: 100.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001823/0.6754, allocations: 1.352 MB / 0.5402 GB, free: 100.3 MB / 446.1 MB Notification: Performance of Backend: time 2.6e-07/0.6754, allocations: 0 / 0.5402 GB, free: 100.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007522/0.6829, allocations: 3.646 MB / 0.5438 GB, free: 98.42 MB / 446.1 MB Notification: Performance of SimCode: time 0.007033/0.69, allocations: 6.385 MB / 0.55 GB, free: 95.07 MB / 446.1 MB Notification: Performance of Templates: time 0.07019/0.7601, allocations: 63.69 MB / 0.6122 GB, free: 35.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.955677452002419] 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.7679035170003772 0.776511174 0.5018331070000001 Calling exit ...