Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.006194/0.006194, allocations: 114.1 kB / 21.97 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 216.2 kB / 25.28 MB, free: 3.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 207.6 MB / 236.1 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 47.92 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2371, allocations: 49.17 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005795/0.2429, allocations: 6.28 MB / 403.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.2456, allocations: 1.874 MB / 405.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.246, allocations: 23.91 kB / 405.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.2465, allocations: 219.6 kB / 405.5 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006784/0.2472, allocations: 415.4 kB / 405.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.2478, allocations: 379.2 kB / 406.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.249, allocations: 1.486 MB / 407.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.2494, allocations: 358 kB / 408.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.25, allocations: 0.5483 MB / 408.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.2506, allocations: 0.6045 MB / 409.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.2508, allocations: 159.1 kB / 409.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.251, allocations: 158.7 kB / 409.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.2512, allocations: 299.7 kB / 409.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004395/0.2516, allocations: 0.6455 MB / 410.5 MB, free: 180 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.2534, allocations: 1.852 MB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2534, allocations: 4 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2534, allocations: 0 / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.2535, allocations: 5.406 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002945/0.2564, allocations: 1.401 MB / 413.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2565, allocations: 13.39 kB / 413.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.666e-05/0.2565, allocations: 34.2 kB / 413.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.2567, allocations: 147 kB / 414 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.2569, allocations: 132 kB / 414.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.2581, allocations: 0.6111 MB / 414.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/0.2581, allocations: 74 kB / 414.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.2583, allocations: 103.7 kB / 414.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.2601, allocations: 1.008 MB / 415.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.2601, allocations: 2.344 kB / 415.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.2602, allocations: 39.97 kB / 416 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.2602, allocations: 25.81 kB / 416 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.262, allocations: 0.8675 MB / 416.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.267, allocations: 3.244 MB / 420.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.2684, allocations: 0.7603 MB / 420.9 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008517/0.2693, allocations: 437.9 kB / 421.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.2693, allocations: 11.5 kB / 421.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.2694, allocations: 51.17 kB / 421.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.154e-06/0.2694, allocations: 0 / 421.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009243/0.2786, allocations: 3.945 MB / 425.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.2787, allocations: 88.67 kB / 425.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009261/0.2796, allocations: 0.6029 MB / 426 MB, free: 6.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.2797, allocations: 45.7 kB / 426 MB, free: 6.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.2801, allocations: 437.1 kB / 426.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.2804, allocations: 416.4 kB / 426.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.2807, allocations: 186.9 kB / 427 MB, free: 4.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2809, allocations: 390.7 kB / 427.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/0.2818, allocations: 378.4 kB / 427.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000941/0.2827, allocations: 0.512 MB / 428.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.2845, allocations: 0.8848 MB / 429.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2845, allocations: 4 kB / 429.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002418/0.2869, allocations: 1.189 MB / 430.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.287, allocations: 8 kB / 430.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.287, allocations: 0 / 430.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004141/0.2874, allocations: 134.7 kB / 430.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.2884, allocations: 247.7 kB / 430.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.2929, allocations: 4.668 MB / 435.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.2937, allocations: 59.89 kB / 435.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/0.2937, allocations: 40.17 kB / 435.5 MB, free: 12.07 MB / 350.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 (128): * Single equations (assignments): 125 * 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.0005206/0.2943, allocations: 273.7 kB / 435.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.2944, allocations: 95.5 kB / 435.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.2961, allocations: 0.7644 MB / 436.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.2962, allocations: 15.98 kB / 436.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.2962, allocations: 4 kB / 436.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2962, allocations: 7.969 kB / 436.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/0.3007, allocations: 2.614 MB / 439.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3007, allocations: 4 kB / 439.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/0.3016, allocations: 207.7 kB / 439.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.302, allocations: 151.4 kB / 439.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.3021, allocations: 28 kB / 439.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005119/0.3072, allocations: 5.588 MB / 445.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3072, allocations: 0 / 445.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003291/0.3105, allocations: 1.747 MB / 447 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.3107, allocations: 87.42 kB / 447.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.3109, allocations: 24 kB / 447.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.3114, allocations: 47.95 kB / 447.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.3116, allocations: 88.44 kB / 447.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.3117, allocations: 31.98 kB / 447.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005941/0.3123, allocations: 435.1 kB / 447.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3123, allocations: 0 / 447.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009181/0.3132, allocations: 259.9 kB / 448 MB, free: 15 MB / 366.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 (104): * Single equations (assignments): 100 * 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.003497/0.3167, allocations: 2.328 MB / 450.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.3192, allocations: 1.283 MB / 451.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3192, allocations: 0 / 451.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.3207, allocations: 0.9714 MB / 452.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3217, allocations: 179.2 kB / 452.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.3354, allocations: 8.221 MB / 460.9 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.3361, allocations: 1.02 MB / 462 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005162/0.3366, allocations: 119.6 kB / 462.1 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.3372, allocations: 391.3 kB / 462.5 MB, free: 104 kB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3372, allocations: 4 kB / 462.5 MB, free: 100 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06408/0.4013, allocations: 21.68 MB / 484.1 MB, free: 10.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.34, allocations: 8 kB / 484.2 MB, free: 10.32 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=9.94036e-06 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.260278236994054]