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.001899/0.001899, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002266/0.002266, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.486/1.486, allocations: 230.3 MB / 258 MB, free: 8.227 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.001991/0.001991, allocations: 59.91 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2528, allocations: 53.37 MB / 432.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01413/0.267, allocations: 11.48 MB / 443.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008001/0.275, allocations: 3.896 MB / 447.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.2768, allocations: 47.75 kB / 447.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008787/0.2856, allocations: 8.147 MB / 455.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007387/0.293, allocations: 4.739 MB / 460.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.2956, allocations: 0.9089 MB / 461.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007208/0.3028, allocations: 5.413 MB / 466.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.304, allocations: 0.61 MB / 467.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.308, allocations: 2.934 MB / 470.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006788/0.3148, allocations: 5.832 MB / 476.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008051/0.3156, allocations: 359.9 kB / 476.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009254/0.3165, allocations: 400 kB / 476.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.3181, allocations: 1.888 MB / 478.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002612/0.3207, allocations: 2.842 MB / 481.6 MB, free: 5.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007581/0.3282, allocations: 7.435 MB / 489 MB, free: 13.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3283, allocations: 4 kB / 489 MB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3283, allocations: 0 / 489 MB, free: 13.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001496/0.3284, allocations: 0 / 489 MB, free: 13.91 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.01532/0.3437, allocations: 7.956 MB / 497 MB, free: 5.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.3438, allocations: 12.03 kB / 497 MB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.3458, allocations: 0.948 MB / 497.9 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004938/0.3508, allocations: 3.234 MB / 0.4894 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3509, allocations: 164.1 kB / 0.4896 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/0.3512, allocations: 204 kB / 0.4898 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/0.3555, allocations: 2.101 MB / 0.4918 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.3556, allocations: 3.953 kB / 0.4918 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.3558, allocations: 88 kB / 0.4919 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.3558, allocations: 48 kB / 0.492 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/0.3597, allocations: 1.852 MB / 0.4938 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.3755, allocations: 8.872 MB / 0.5024 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003966/0.3794, allocations: 2.014 MB / 0.5044 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/0.3823, allocations: 1.279 MB / 0.5057 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.3824, allocations: 42.28 kB / 0.5057 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/0.3846, allocations: 1.132 MB / 0.5068 GB, free: 15.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=246): time 4.058e-06/0.3846, allocations: 0 / 0.5068 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=371): time 0.07058/0.4552, allocations: 22.21 MB / 0.5285 GB, free: 9.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2433/0.6984, allocations: 13.45 MB / 0.5416 GB, free: 94.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/0.7129, allocations: 15.04 MB / 0.5563 GB, free: 88.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006447/0.7135, allocations: 90.36 kB / 0.5564 GB, free: 88.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002524/0.7161, allocations: 3.789 MB / 0.5601 GB, free: 85.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/0.7173, allocations: 1.291 MB / 0.5614 GB, free: 85.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008565/0.7182, allocations: 0.5193 MB / 0.5619 GB, free: 84.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.7182, allocations: 305.9 kB / 0.5622 GB, free: 84.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.7203, allocations: 1.223 MB / 0.5634 GB, free: 83.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.7225, allocations: 1.61 MB / 0.5649 GB, free: 81.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.7268, allocations: 2.97 MB / 0.5678 GB, free: 78.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.7268, allocations: 7.438 kB / 0.5678 GB, free: 78.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01008/0.7369, allocations: 5.19 MB / 0.5729 GB, free: 73.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.7369, allocations: 8 kB / 0.5729 GB, free: 73.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.7369, allocations: 4 kB / 0.5729 GB, free: 73.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005412/0.7423, allocations: 1.417 MB / 0.5743 GB, free: 72.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.745, allocations: 0.534 MB / 0.5748 GB, free: 71.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/0.769, allocations: 23.12 MB / 0.5974 GB, free: 47.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.7723, allocations: 111.1 kB / 0.5975 GB, free: 47.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.7726, allocations: 116 kB / 0.5976 GB, free: 47.47 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.002529/0.7751, allocations: 2.204 MB / 0.5998 GB, free: 45.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007929/0.7759, allocations: 0.8801 MB / 0.6006 GB, free: 44.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/0.7872, allocations: 5.229 MB / 0.6057 GB, free: 39.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.7872, allocations: 36 kB / 0.6058 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-05/0.7872, allocations: 4 kB / 0.6058 GB, free: 39.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.758e-05/0.7873, allocations: 27.92 kB / 0.6058 GB, free: 39.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0306/0.8179, allocations: 10.94 MB / 0.6165 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/0.8179, allocations: 0 / 0.6165 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004425/0.8223, allocations: 447.4 kB / 0.6169 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009493/0.8318, allocations: 1.348 MB / 0.6182 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000633/0.8325, allocations: 75.97 kB / 0.6183 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0372/0.8697, allocations: 21 MB / 0.6388 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0277/0.8974, allocations: 11.78 MB / 0.6503 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.9131, allocations: 6.908 MB / 0.6571 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/0.9147, allocations: 0.7324 MB / 0.6578 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006121/0.9154, allocations: 69.95 kB / 0.6578 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/0.9174, allocations: 103.7 kB / 0.6579 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007133/0.9181, allocations: 287.1 kB / 0.6582 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/0.9184, allocations: 91.98 kB / 0.6583 GB, free: 15.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01362/0.932, allocations: 11.23 MB / 0.6693 GB, free: 4.637 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.932, allocations: 0 / 0.6693 GB, free: 4.637 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004544/0.9365, allocations: 1.092 MB / 0.6703 GB, free: 3.547 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 (257): * Single equations (assignments): 246 * 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.001913/0.9384, allocations: 0.4953 MB / 0.6708 GB, free: 3.195 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008771/0.9472, allocations: 4.589 MB / 0.6753 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9472, allocations: 3.938 kB / 0.6753 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005476/0.9527, allocations: 3.117 MB / 0.6783 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.9561, allocations: 0.5633 MB / 0.6789 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03116/0.9872, allocations: 18.26 MB / 0.6967 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00546/0.9927, allocations: 4.046 MB / 0.7007 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00188/0.9946, allocations: 313.5 kB / 0.701 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/0.9953, allocations: 175.4 kB / 0.7011 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of SimCode: time 1.263e-06/0.9953, allocations: 0 / 0.7011 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.3262/1.321, allocations: 70.66 MB / 0.7702 GB, free: 156.3 MB / 0.5294 GB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonPullInStroke/ComparisonPullInStroke.csv","/var/lib/jenkins/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: 9.791335368528962]