Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.002232/0.002232, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002423/0.002423, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 7.988 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2957, allocations: 53.41 MB / 431.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00855/0.3042, allocations: 6.497 MB / 437.7 MB, free: 124 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.3079, allocations: 1.925 MB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005042/0.3084, allocations: 23.88 kB / 439.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.309, allocations: 214 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000927/0.3099, allocations: 424.8 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.3107, allocations: 375.6 kB / 440.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.3123, allocations: 1.499 MB / 442.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005608/0.3129, allocations: 354.9 kB / 442.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.3136, allocations: 0.584 MB / 443 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008011/0.3144, allocations: 0.6029 MB / 443.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.3146, allocations: 160 kB / 443.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.3148, allocations: 168 kB / 444 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.3151, allocations: 299.1 kB / 444.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006803/0.3158, allocations: 0.665 MB / 444.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.3177, allocations: 1.895 MB / 446.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3177, allocations: 0 / 446.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3177, allocations: 3.938 kB / 446.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.483e-05/0.3178, allocations: 0 / 446.8 MB, free: 6.922 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.002865/0.3206, allocations: 1.408 MB / 448.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3207, allocations: 8.031 kB / 448.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/0.3209, allocations: 148.4 kB / 448.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.3214, allocations: 152.1 kB / 448.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3226, allocations: 0.6382 MB / 449.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.3227, allocations: 74 kB / 449.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.3228, allocations: 96 kB / 449.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.3246, allocations: 0.974 MB / 450.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.3246, allocations: 11.95 kB / 450.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.3247, allocations: 40 kB / 450.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.3247, allocations: 24 kB / 450.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.3263, allocations: 0.7976 MB / 451.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/0.3316, allocations: 3.252 MB / 454.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.333, allocations: 0.7574 MB / 455.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.3337, allocations: 414.2 kB / 455.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.09e-05/0.3338, allocations: 12.48 kB / 455.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3338, allocations: 47.62 kB / 455.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.3338, allocations: 0 / 455.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008536/0.3424, allocations: 3.817 MB / 459.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.3424, allocations: 89.77 kB / 459.6 MB, free: 9.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008839/0.3433, allocations: 0.6408 MB / 460.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.3434, allocations: 49.64 kB / 460.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.3437, allocations: 445.1 kB / 460.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.3441, allocations: 428.3 kB / 461.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.3444, allocations: 190.9 kB / 461.3 MB, free: 8.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.3446, allocations: 398.7 kB / 461.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006769/0.3453, allocations: 342.5 kB / 462 MB, free: 7.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/0.3461, allocations: 496.6 kB / 462.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.3476, allocations: 0.8471 MB / 463.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.3476, allocations: 4 kB / 463.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002176/0.3498, allocations: 1.146 MB / 464.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3498, allocations: 8 kB / 464.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3498, allocations: 4 kB / 464.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.3502, allocations: 126.5 kB / 464.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/0.3512, allocations: 247.5 kB / 464.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.3555, allocations: 4.666 MB / 469.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.3561, allocations: 31.98 kB / 469.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.3562, allocations: 43.98 kB / 469.6 MB, free: 15.31 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.0004628/0.3567, allocations: 285.6 kB / 469.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.3568, allocations: 103.3 kB / 470 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.3583, allocations: 0.7375 MB / 470.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3583, allocations: 12 kB / 470.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3584, allocations: 4 kB / 470.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3584, allocations: 7.969 kB / 470.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/0.3624, allocations: 2.575 MB / 473.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3624, allocations: 128 / 473.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008354/0.3632, allocations: 199.7 kB / 473.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/0.3637, allocations: 155.4 kB / 473.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/0.3637, allocations: 27.98 kB / 473.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.3686, allocations: 5.585 MB / 479.3 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3686, allocations: 3.938 kB / 479.3 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.3716, allocations: 1.654 MB / 480.9 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.3721, allocations: 183.3 kB / 481.1 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.3722, allocations: 20 kB / 481.1 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.3727, allocations: 43.92 kB / 481.2 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.3729, allocations: 84.48 kB / 481.3 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/0.3729, allocations: 28 kB / 481.3 MB, free: 2.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006405/0.3736, allocations: 463 kB / 481.7 MB, free: 2.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3736, allocations: 4 kB / 481.8 MB, free: 2.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009098/0.3745, allocations: 256 kB / 482 MB, free: 2.293 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.003143/0.3776, allocations: 2.244 MB / 484.2 MB, free: 8 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.3798, allocations: 1.231 MB / 485.5 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3798, allocations: 0 / 485.5 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.3812, allocations: 0.9439 MB / 486.4 MB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3823, allocations: 198.4 kB / 486.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.3953, allocations: 8.217 MB / 494.8 MB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.3961, allocations: 1.033 MB / 495.9 MB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005222/0.3966, allocations: 128 kB / 496 MB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006013/0.3972, allocations: 399.3 kB / 496.4 MB, free: 3.527 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3972, allocations: 0 / 496.4 MB, free: 3.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07246/0.4696, allocations: 22.48 MB / 0.5067 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.8, allocations: 3.938 kB / 0.5067 GB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=1e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.60075420513749]