Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001857/0.001857, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.84 kB / 369 MB, free: 6.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2725, allocations: 53.3 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008068/0.2805, allocations: 6.463 MB / 428.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.2838, allocations: 1.925 MB / 430.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004956/0.2843, allocations: 19.94 kB / 430.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005441/0.2848, allocations: 214 kB / 430.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008241/0.2856, allocations: 428.8 kB / 431.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.2864, allocations: 371.5 kB / 431.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.2878, allocations: 1.506 MB / 433.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.2884, allocations: 349.5 kB / 433.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006482/0.289, allocations: 0.5645 MB / 434.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007415/0.2898, allocations: 0.603 MB / 434.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.2899, allocations: 159.9 kB / 434.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.2902, allocations: 172 kB / 435 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.2904, allocations: 307 kB / 435.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006046/0.291, allocations: 0.6611 MB / 436 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.2929, allocations: 1.891 MB / 437.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2929, allocations: 0 / 437.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2929, allocations: 4 kB / 437.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2929, allocations: 0 / 437.9 MB, free: 8.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002706/0.2956, allocations: 1.471 MB / 439.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2957, allocations: 8.031 kB / 439.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005303/0.2962, allocations: 160.1 kB / 439.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.2973, allocations: 0.6962 MB / 440.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.232e-05/0.2974, allocations: 74 kB / 440.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.2976, allocations: 96 kB / 440.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.2993, allocations: 0.974 MB / 441.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.2993, allocations: 11.94 kB / 441.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.2994, allocations: 40 kB / 441.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.2995, allocations: 24 kB / 441.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.301, allocations: 0.7976 MB / 442.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.3061, allocations: 3.318 MB / 445.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.3074, allocations: 0.754 MB / 446.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/0.3082, allocations: 399.3 kB / 446.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/0.3082, allocations: 28.36 kB / 446.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3083, allocations: 43.75 kB / 446.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.244e-06/0.3083, allocations: 0 / 446.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008881/0.3172, allocations: 4.204 MB / 450.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.3172, allocations: 89.77 kB / 451 MB, free: 10.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/0.3181, allocations: 0.6408 MB / 451.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.3182, allocations: 45.7 kB / 451.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.3186, allocations: 449.1 kB / 452.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.3189, allocations: 428.3 kB / 452.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.3192, allocations: 186.9 kB / 452.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.3194, allocations: 394.7 kB / 453.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/0.3202, allocations: 350.4 kB / 453.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.321, allocations: 492.6 kB / 454 MB, free: 7.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.3225, allocations: 0.8549 MB / 454.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.3225, allocations: 7.938 kB / 454.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002144/0.3247, allocations: 1.142 MB / 456 MB, free: 5.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3247, allocations: 8 kB / 456 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3247, allocations: 0 / 456 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.3251, allocations: 134.4 kB / 456.1 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.3261, allocations: 239.7 kB / 456.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004405/0.3305, allocations: 4.982 MB / 461.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.3311, allocations: 35.98 kB / 461.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.3312, allocations: 39.98 kB / 461.4 MB, free: 15.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004618/0.3316, allocations: 286.6 kB / 461.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.3318, allocations: 99.33 kB / 461.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.3333, allocations: 0.7375 MB / 462.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3333, allocations: 12 kB / 462.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3333, allocations: 4 kB / 462.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3334, allocations: 7.969 kB / 462.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.3374, allocations: 2.604 MB / 465.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3374, allocations: 7.938 kB / 465.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008644/0.3383, allocations: 199.8 kB / 465.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/0.3388, allocations: 151.4 kB / 465.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/0.3388, allocations: 31.98 kB / 465.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005001/0.3438, allocations: 5.99 MB / 471.5 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3438, allocations: 7.969 kB / 471.5 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.3466, allocations: 1.657 MB / 473.2 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.3469, allocations: 252.5 kB / 473.4 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.347, allocations: 24 kB / 473.4 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/0.3476, allocations: 35.98 kB / 473.5 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.3477, allocations: 80.48 kB / 473.5 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.3478, allocations: 35.98 kB / 473.6 MB, free: 2.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006037/0.3484, allocations: 466.9 kB / 474 MB, free: 2.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3484, allocations: 0 / 474 MB, free: 2.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008659/0.3493, allocations: 260 kB / 474.3 MB, free: 1.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.3494, allocations: 132.2 kB / 474.4 MB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.3515, allocations: 1.231 MB / 475.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3515, allocations: 0 / 475.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.3529, allocations: 0.94 MB / 476.6 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009833/0.3538, allocations: 215.5 kB / 476.8 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.3574, allocations: 2.192 MB / 479 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.3581, allocations: 1.037 MB / 480 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004936/0.3586, allocations: 128 kB / 480.2 MB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.3588, allocations: 75.41 kB / 480.2 MB, free: 11.84 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3588, allocations: 3.938 kB / 480.2 MB, free: 11.84 MB / 398.1 MB Notification: Performance of Templates: time 0.02337/0.3822, allocations: 12.89 MB / 493.1 MB, free: 15.05 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches