Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.001817/0.001817, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002245/0.002245, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5545,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 63.89 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2403, allocations: 53.4 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01306/0.2534, allocations: 9.854 MB / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008409/0.2618, allocations: 3.806 MB / 446 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.2641, allocations: 47.75 kB / 446.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009498/0.2736, allocations: 8.144 MB / 454.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007912/0.2815, allocations: 4.744 MB / 459 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.2843, allocations: 0.9167 MB / 459.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007233/0.2915, allocations: 5.409 MB / 465.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.2929, allocations: 0.5515 MB / 465.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/0.2981, allocations: 2.934 MB / 468.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007796/0.3059, allocations: 5.668 MB / 474.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.3071, allocations: 360 kB / 474.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.3084, allocations: 404 kB / 475.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.3102, allocations: 1.892 MB / 477.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.3128, allocations: 2.07 MB / 479.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00821/0.321, allocations: 7.531 MB / 486.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.321, allocations: 0 / 486.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.321, allocations: 0 / 486.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002015/0.3212, allocations: 4 kB / 486.7 MB, free: 15.99 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01386/0.3351, allocations: 7.948 MB / 494.7 MB, free: 7.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3351, allocations: 11.98 kB / 494.7 MB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.337, allocations: 0.9557 MB / 495.6 MB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/0.342, allocations: 3.23 MB / 498.8 MB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.3422, allocations: 160.2 kB / 499 MB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.3426, allocations: 211.9 kB / 499.2 MB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.3468, allocations: 2.222 MB / 0.4897 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/0.3468, allocations: 7.953 kB / 0.4897 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.347, allocations: 87.94 kB / 0.4898 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/0.347, allocations: 52 kB / 0.4898 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.3509, allocations: 1.845 MB / 0.4916 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.3716, allocations: 7.569 MB / 0.499 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005833/0.3774, allocations: 2.032 MB / 0.501 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00412/0.3815, allocations: 1.283 MB / 0.5023 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.3817, allocations: 30.3 kB / 0.5023 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003214/0.3849, allocations: 1.258 MB / 0.5035 GB, free: 2.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=246): time 8.156e-06/0.3849, allocations: 4 kB / 0.5035 GB, free: 2.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=371): time 0.0787/0.4636, allocations: 22.21 MB / 0.5252 GB, free: 12.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2316/0.6952, allocations: 13.11 MB / 0.538 GB, free: 96.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0155/0.7107, allocations: 15.06 MB / 0.5527 GB, free: 90.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006243/0.7113, allocations: 89.7 kB / 0.5528 GB, free: 90.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002284/0.7136, allocations: 3.562 MB / 0.5563 GB, free: 87.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009068/0.7145, allocations: 1.286 MB / 0.5575 GB, free: 87.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007857/0.7153, allocations: 0.5281 MB / 0.558 GB, free: 86.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.282e-05/0.7153, allocations: 304.9 kB / 0.5583 GB, free: 86.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.7173, allocations: 1.231 MB / 0.5595 GB, free: 85.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.7194, allocations: 1.73 MB / 0.5612 GB, free: 83.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004119/0.7235, allocations: 2.972 MB / 0.5641 GB, free: 80.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.7235, allocations: 4 kB / 0.5641 GB, free: 80.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.009353/0.7329, allocations: 5.198 MB / 0.5692 GB, free: 76.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.7329, allocations: 7.5 kB / 0.5692 GB, free: 76.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.7329, allocations: 8 kB / 0.5692 GB, free: 76.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004961/0.7379, allocations: 1.412 MB / 0.5706 GB, free: 74.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.7404, allocations: 0.5305 MB / 0.5711 GB, free: 74.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02223/0.7626, allocations: 22.54 MB / 0.5931 GB, free: 50.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.766, allocations: 116.9 kB / 0.5932 GB, free: 50.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/0.7663, allocations: 114.9 kB / 0.5934 GB, free: 50.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,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 (313): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.002597/0.7689, allocations: 2.195 MB / 0.5955 GB, free: 48.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009379/0.7699, allocations: 0.8692 MB / 0.5963 GB, free: 47.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009554/0.7794, allocations: 5.251 MB / 0.6015 GB, free: 42.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.7794, allocations: 39.98 kB / 0.6015 GB, free: 42.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.7794, allocations: 11.94 kB / 0.6015 GB, free: 42.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-05/0.7795, allocations: 19.92 kB / 0.6015 GB, free: 42.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.7961, allocations: 9.895 MB / 0.6112 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.7962, allocations: 4 kB / 0.6112 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/0.7983, allocations: 455.4 kB / 0.6116 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00505/0.8033, allocations: 1.345 MB / 0.613 GB, free: 30.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/0.8036, allocations: 75.97 kB / 0.613 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01979/0.8234, allocations: 20.43 MB / 0.633 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02246/0.8458, allocations: 11.44 MB / 0.6442 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.8604, allocations: 6.928 MB / 0.6509 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.8621, allocations: 0.7345 MB / 0.6516 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000686/0.8627, allocations: 65.97 kB / 0.6517 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/0.8648, allocations: 99.95 kB / 0.6518 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/0.8655, allocations: 287.2 kB / 0.6521 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/0.8657, allocations: 95.98 kB / 0.6522 GB, free: 5.301 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0146/0.8803, allocations: 11.21 MB / 0.6631 GB, free: 10.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8803, allocations: 0 / 0.6631 GB, free: 10.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004655/0.885, allocations: 1.098 MB / 0.6642 GB, free: 9.078 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002004/0.887, allocations: 0.5228 MB / 0.6647 GB, free: 8.719 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008642/0.8956, allocations: 4.599 MB / 0.6692 GB, free: 3.996 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8956, allocations: 0 / 0.6692 GB, free: 3.996 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005574/0.9012, allocations: 3.144 MB / 0.6723 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/0.905, allocations: 0.5626 MB / 0.6728 GB, free: 200 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/0.9347, allocations: 18.61 MB / 0.691 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00479/0.9395, allocations: 3.565 MB / 0.6945 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.9407, allocations: 199.4 kB / 0.6946 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.9407, allocations: 4 kB / 0.6947 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of Templates: time 1.416/2.357, allocations: 0.5513 GB / 1.246 GB, free: 120.5 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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: 16.341441039927304]