Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 188.6 kB / 23.72 MB, free: 4.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 47.92 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2529, allocations: 52.19 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01285/0.2657, allocations: 9.563 MB / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007964/0.2737, allocations: 3.494 MB / 435.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.2756, allocations: 63.56 kB / 435.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.2781, allocations: 0.7652 MB / 436.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.2812, allocations: 0.8507 MB / 437.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.2828, allocations: 487 kB / 437.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003711/0.2865, allocations: 2.42 MB / 440.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.2886, allocations: 1.045 MB / 441.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.2907, allocations: 1.125 MB / 442.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.2933, allocations: 1.428 MB / 443.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005142/0.2938, allocations: 280 kB / 444.2 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009821/0.2948, allocations: 411.8 kB / 444.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008458/0.2957, allocations: 0.818 MB / 445.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.2971, allocations: 1.272 MB / 446.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.3014, allocations: 3.744 MB / 450.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3014, allocations: 0 / 450.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3014, allocations: 0 / 450.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.038e-05/0.3015, allocations: 0 / 450.4 MB, free: 2.742 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005369/0.3068, allocations: 2.655 MB / 453 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3069, allocations: 8.031 kB / 453 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000379/0.3073, allocations: 286.5 kB / 453.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006719/0.3079, allocations: 279.3 kB / 453.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.3105, allocations: 1.325 MB / 454.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.3106, allocations: 135.7 kB / 455.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.3109, allocations: 199.9 kB / 455.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003923/0.3148, allocations: 2.432 MB / 457.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.3149, allocations: 11.89 kB / 457.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.315, allocations: 76 kB / 457.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.3151, allocations: 95.67 kB / 457.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003469/0.3186, allocations: 1.978 MB / 459.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.3306, allocations: 7.206 MB / 467.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.3324, allocations: 1.065 MB / 468.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.334, allocations: 0.8148 MB / 468.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.3342, allocations: 44.97 kB / 469 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.3353, allocations: 0.6789 MB / 469.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.365e-06/0.3353, allocations: 3.938 kB / 469.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01587/0.3512, allocations: 6.83 MB / 476.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.3513, allocations: 167.2 kB / 476.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.3534, allocations: 1.418 MB / 478.1 MB, free: 6.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.3535, allocations: 45.7 kB / 478.1 MB, free: 6.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009392/0.3545, allocations: 0.9545 MB / 479.1 MB, free: 5.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.3549, allocations: 448.2 kB / 479.5 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/0.3553, allocations: 243.5 kB / 479.7 MB, free: 4.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3554, allocations: 357.9 kB / 480.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3565, allocations: 0.6364 MB / 480.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3579, allocations: 0.9975 MB / 481.7 MB, free: 2.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.3603, allocations: 1.715 MB / 483.4 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3603, allocations: 4 kB / 483.4 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004043/0.3644, allocations: 2.277 MB / 485.7 MB, free: 14.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.3644, allocations: 11.94 kB / 485.7 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.3644, allocations: 8 kB / 485.7 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.3656, allocations: 488.2 kB / 486.2 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.3667, allocations: 299.5 kB / 486.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007691/0.3744, allocations: 6.887 MB / 493.4 MB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3757, allocations: 95.94 kB / 493.5 MB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.3758, allocations: 51.98 kB / 493.5 MB, free: 6.422 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001252/0.3771, allocations: 0.6262 MB / 494.2 MB, free: 5.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.3774, allocations: 163 kB / 494.3 MB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.3812, allocations: 2.071 MB / 496.4 MB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.3812, allocations: 12 kB / 496.4 MB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.3812, allocations: 8 kB / 496.4 MB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.3812, allocations: 7.969 kB / 496.4 MB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007849/0.3891, allocations: 4.335 MB / 0.489 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.3891, allocations: 4 kB / 0.489 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.3899, allocations: 195.7 kB / 0.4892 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.3913, allocations: 0.531 MB / 0.4897 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/0.3914, allocations: 31.98 kB / 0.4898 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008788/0.4002, allocations: 8.335 MB / 0.4979 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4002, allocations: 8 kB / 0.4979 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0051/0.4053, allocations: 2.997 MB / 0.5008 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/0.4062, allocations: 306.8 kB / 0.5011 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.4064, allocations: 32 kB / 0.5012 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.4072, allocations: 71.86 kB / 0.5012 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.4074, allocations: 100.8 kB / 0.5013 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.4075, allocations: 39.98 kB / 0.5014 GB, free: 1.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001448/0.409, allocations: 0.9714 MB / 0.5023 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.409, allocations: 0 / 0.5023 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001527/0.4105, allocations: 459.9 kB / 0.5028 GB, free: 468 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006827/0.4173, allocations: 3.945 MB / 0.5066 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.4211, allocations: 2.035 MB / 0.5086 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.4211, allocations: 0 / 0.5086 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.4234, allocations: 1.388 MB / 0.5099 GB, free: 9.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.4254, allocations: 415.1 kB / 0.5103 GB, free: 8.676 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/0.4513, allocations: 16.06 MB / 0.526 GB, free: 8.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.4529, allocations: 1.702 MB / 0.5277 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.4539, allocations: 321 kB / 0.528 GB, free: 6.047 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.4549, allocations: 0.7453 MB / 0.5287 GB, free: 5.301 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4549, allocations: 0 / 0.5287 GB, free: 5.301 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2907/0.7457, allocations: 42.77 MB / 0.5705 GB, free: 82.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.13, allocations: 14.41 kB / 0.5705 GB, free: 82.89 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 646] Reference file matches [Calling sys.exit(0), Time elapsed: 46.041040264070034]