Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001484/0.001484, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.425/1.425, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001588/0.001587, allocations: 120.7 kB / 253.5 MB, free: 9.566 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.219e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06529/0.06533, allocations: 44.49 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2904/0.3558, allocations: 87.44 MB / 436.9 MB, free: 7.332 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.3561, allocations: 81.64 kB / 437 MB, free: 7.32 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.1911/0.5472, allocations: 77.44 MB / 0.5023 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5472, allocations: 0 / 0.5023 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004287/0.5477, allocations: 112 kB / 0.5025 GB, free: 0.6914 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01/0.5577, allocations: 5.587 MB / 0.5079 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.5577, allocations: 8.031 kB / 0.5079 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.5594, allocations: 0.8641 MB / 0.5088 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00807/0.5675, allocations: 3.589 MB / 0.5123 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.5677, allocations: 160.1 kB / 0.5124 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004527/0.5682, allocations: 208 kB / 0.5126 GB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.5721, allocations: 2.014 MB / 0.5146 GB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.112e-05/0.5721, allocations: 11.84 kB / 0.5146 GB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.5723, allocations: 87.98 kB / 0.5147 GB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.5724, allocations: 52 kB / 0.5147 GB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.5756, allocations: 1.779 MB / 0.5165 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.5931, allocations: 10.15 MB / 0.5264 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003422/0.5965, allocations: 2.303 MB / 0.5286 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/0.5988, allocations: 1.308 MB / 0.5299 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.599, allocations: 46.27 kB / 0.5299 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.6008, allocations: 1.108 MB / 0.531 GB, free: 2.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=246): time 4.118e-06/0.6008, allocations: 0 / 0.531 GB, free: 2.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=382): time 0.2454/0.8462, allocations: 19.12 MB / 0.5497 GB, free: 103.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07851/0.9247, allocations: 30.74 MB / 0.5797 GB, free: 93.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1567/1.081, allocations: 13.35 MB / 0.5928 GB, free: 89.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008572/1.082, allocations: 89.53 kB / 0.5928 GB, free: 89.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004573/1.087, allocations: 3.695 MB / 0.5965 GB, free: 86.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.088, allocations: 1.261 MB / 0.5977 GB, free: 86.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/1.089, allocations: 72.81 kB / 0.5978 GB, free: 85.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/1.089, allocations: 435.7 kB / 0.5982 GB, free: 85.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/1.091, allocations: 1.293 MB / 0.5994 GB, free: 85.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/1.094, allocations: 1.634 MB / 0.601 GB, free: 84.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/1.097, allocations: 1.53 MB / 0.6025 GB, free: 83.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.097, allocations: 0 / 0.6025 GB, free: 83.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01064/1.107, allocations: 5.367 MB / 0.6078 GB, free: 81.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/1.107, allocations: 35.75 kB / 0.6078 GB, free: 81.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.107, allocations: 6.875 kB / 0.6078 GB, free: 81.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004979/1.112, allocations: 1.424 MB / 0.6092 GB, free: 80.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/1.115, allocations: 0.5753 MB / 0.6098 GB, free: 80.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.137, allocations: 22.25 MB / 0.6315 GB, free: 61.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/1.141, allocations: 200.7 kB / 0.6317 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/1.141, allocations: 122 kB / 0.6318 GB, free: 61.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.0005716/1.142, allocations: 290.7 kB / 0.6321 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.143, allocations: 0.8527 MB / 0.6329 GB, free: 60.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.155, allocations: 5.482 MB / 0.6383 GB, free: 55.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004551/1.16, allocations: 2.385 MB / 0.6406 GB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/1.16, allocations: 4 kB / 0.6406 GB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.948e-05/1.16, allocations: 23.2 kB / 0.6406 GB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/1.184, allocations: 14.11 MB / 0.6544 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.184, allocations: 4 kB / 0.6544 GB, free: 42.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.187, allocations: 499.4 kB / 0.6549 GB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004921/1.192, allocations: 1.438 MB / 0.6563 GB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.192, allocations: 86.88 kB / 0.6564 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/1.211, allocations: 20.36 MB / 0.6762 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2839/1.495, allocations: 27.28 MB / 0.7029 GB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01686/1.512, allocations: 7.859 MB / 0.7106 GB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006418/1.518, allocations: 1.937 MB / 0.7124 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002017/1.52, allocations: 86.75 kB / 0.7125 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/1.524, allocations: 175.2 kB / 0.7127 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008705/1.525, allocations: 280.4 kB / 0.713 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/1.525, allocations: 109.1 kB / 0.7131 GB, free: 86.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.02259/1.547, allocations: 10.76 MB / 0.7236 GB, free: 86.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.548, allocations: 0 / 0.7236 GB, free: 86.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008041/1.556, allocations: 1.768 MB / 0.7253 GB, free: 86.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.001705/1.557, allocations: 467.2 kB / 0.7257 GB, free: 85.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007912/1.565, allocations: 4.979 MB / 0.7306 GB, free: 84.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.565, allocations: 3.969 kB / 0.7306 GB, free: 84.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005214/1.571, allocations: 3.397 MB / 0.7339 GB, free: 83.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004944/1.575, allocations: 489.3 kB / 0.7344 GB, free: 83.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03068/1.606, allocations: 17.56 MB / 0.7515 GB, free: 77.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004006/1.61, allocations: 4.205 MB / 0.7556 GB, free: 76.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003573/1.614, allocations: 0.8418 MB / 0.7565 GB, free: 76.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.615, allocations: 368.1 kB / 0.7568 GB, free: 76.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.214e-06/1.615, allocations: 3.938 kB / 0.7568 GB, free: 76.34 MB / 410.7 MB Notification: Performance of Templates: time 0.3059/1.921, allocations: 90.9 MB / 0.8456 GB, free: 11.42 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)