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.00142/0.00142, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001475/0.001475, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.408/1.408, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.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.001935/0.001935, allocations: 58.2 kB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09584, allocations: 53.39 MB / 378.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01284/0.1087, allocations: 9.849 MB / 388.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007501/0.1162, allocations: 3.803 MB / 392.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.1178, allocations: 47.75 kB / 392.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008845/0.1267, allocations: 8.148 MB / 400.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.1343, allocations: 4.729 MB / 405.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.1369, allocations: 0.9284 MB / 406.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007621/0.1445, allocations: 5.408 MB / 411.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.1458, allocations: 0.5554 MB / 412.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.1505, allocations: 2.93 MB / 415.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007742/0.1582, allocations: 5.676 MB / 421 MB, free: 5.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.1592, allocations: 360 kB / 421.3 MB, free: 4.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.1604, allocations: 407.9 kB / 421.7 MB, free: 4.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.162, allocations: 1.892 MB / 423.6 MB, free: 2.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002639/0.1646, allocations: 2.074 MB / 425.7 MB, free: 452 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008265/0.1729, allocations: 7.525 MB / 433.2 MB, free: 8.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1729, allocations: 0 / 433.2 MB, free: 8.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.1729, allocations: 4 kB / 433.2 MB, free: 8.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001909/0.1731, allocations: 0 / 433.2 MB, free: 8.875 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.01384/0.1869, allocations: 7.948 MB / 441.2 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.187, allocations: 8.031 kB / 441.2 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.1888, allocations: 0.948 MB / 442.1 MB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/0.194, allocations: 3.234 MB / 445.4 MB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.1941, allocations: 156.2 kB / 445.5 MB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/0.1945, allocations: 211.9 kB / 445.7 MB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.1987, allocations: 2.222 MB / 448 MB, free: 9.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/0.1988, allocations: 11.89 kB / 448 MB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.199, allocations: 87.98 kB / 448.1 MB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.199, allocations: 52 kB / 448.1 MB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/0.2028, allocations: 1.837 MB / 449.9 MB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.2181, allocations: 7.571 MB / 457.5 MB, free: 240 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.2221, allocations: 2.036 MB / 459.5 MB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.2249, allocations: 1.28 MB / 460.8 MB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.225, allocations: 26.31 kB / 460.9 MB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002187/0.2272, allocations: 1.27 MB / 462.1 MB, free: 11.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=246): time 5.11e-06/0.2272, allocations: 0 / 462.1 MB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=371): time 0.2527/0.4799, allocations: 22.2 MB / 484.3 MB, free: 76.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02746/0.5074, allocations: 13.13 MB / 497.4 MB, free: 69.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/0.521, allocations: 15.06 MB / 0.5005 GB, free: 56.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007933/0.5218, allocations: 85.7 kB / 0.5006 GB, free: 56.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002514/0.5243, allocations: 3.567 MB / 0.5041 GB, free: 53.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009933/0.5253, allocations: 1.291 MB / 0.5053 GB, free: 52.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007766/0.5261, allocations: 0.5197 MB / 0.5058 GB, free: 51.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.5261, allocations: 301.1 kB / 0.5061 GB, free: 51.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.5281, allocations: 1.237 MB / 0.5073 GB, free: 50.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.5302, allocations: 1.736 MB / 0.509 GB, free: 48.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004215/0.5344, allocations: 2.968 MB / 0.5119 GB, free: 45.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.5344, allocations: 3.938 kB / 0.5119 GB, free: 45.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.009688/0.5441, allocations: 5.204 MB / 0.517 GB, free: 40.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5441, allocations: 8 kB / 0.517 GB, free: 40.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5441, allocations: 5.125 kB / 0.517 GB, free: 40.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005059/0.5492, allocations: 1.415 MB / 0.5184 GB, free: 38.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.5516, allocations: 0.5266 MB / 0.5189 GB, free: 38.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02122/0.5728, allocations: 22.56 MB / 0.5409 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/0.5765, allocations: 111.9 kB / 0.5411 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/0.5769, allocations: 112 kB / 0.5412 GB, free: 14.5 MB / 430.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.003376/0.5802, allocations: 2.198 MB / 0.5433 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/0.5816, allocations: 0.8692 MB / 0.5442 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009684/0.5912, allocations: 5.25 MB / 0.5493 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.5913, allocations: 36 kB / 0.5493 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.5913, allocations: 4 kB / 0.5493 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.5913, allocations: 19.92 kB / 0.5493 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.6089, allocations: 9.881 MB / 0.559 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.6089, allocations: 96 / 0.559 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/0.6113, allocations: 463.2 kB / 0.5594 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/0.6169, allocations: 1.354 MB / 0.5608 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/0.6172, allocations: 75.98 kB / 0.5608 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02763/0.6448, allocations: 20.44 MB / 0.5808 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02638/0.6712, allocations: 11.45 MB / 0.592 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.6857, allocations: 6.929 MB / 0.5987 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/0.6872, allocations: 0.7285 MB / 0.5994 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005322/0.6877, allocations: 78.48 kB / 0.5995 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/0.6897, allocations: 95.98 kB / 0.5996 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/0.6904, allocations: 291.2 kB / 0.5999 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002185/0.6906, allocations: 95.97 kB / 0.6 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01258/0.7032, allocations: 11.2 MB / 0.6109 GB, free: 5.824 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7032, allocations: 7.938 kB / 0.6109 GB, free: 5.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003726/0.7069, allocations: 1.09 MB / 0.612 GB, free: 4.727 MB / 494.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.001867/0.7088, allocations: 0.5188 MB / 0.6125 GB, free: 4.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008159/0.7169, allocations: 4.596 MB / 0.617 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.7169, allocations: 5.312 kB / 0.617 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005701/0.7226, allocations: 3.128 MB / 0.62 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004166/0.7268, allocations: 0.5535 MB / 0.6206 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/0.7539, allocations: 18.27 MB / 0.6384 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004987/0.7589, allocations: 3.572 MB / 0.6419 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00184/0.7607, allocations: 309.2 kB / 0.6422 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.7614, allocations: 176.4 kB / 0.6424 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.7614, allocations: 0 / 0.6424 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of Templates: time 0.2843/1.046, allocations: 65.11 MB / 0.706 GB, free: 150.1 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 -s ida -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: 9.350196702987887]