Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.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.001699/0.001699, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002009/0.002009, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.494/1.494, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1092, allocations: 53.32 MB / 426.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.2257/0.3349, allocations: 9.556 MB / 436.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006586/0.3415, allocations: 3.651 MB / 439.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.3431, allocations: 48.69 kB / 439.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.3452, allocations: 0.765 MB / 440.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.3479, allocations: 0.8833 MB / 441.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.3491, allocations: 452 kB / 442 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.3522, allocations: 2.425 MB / 444.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.3539, allocations: 1.294 MB / 445.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.3557, allocations: 1.117 MB / 446.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.3577, allocations: 1.429 MB / 448.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004286/0.3581, allocations: 279.6 kB / 448.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00095/0.3591, allocations: 427.6 kB / 449 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007516/0.3598, allocations: 0.8116 MB / 449.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.3615, allocations: 1.282 MB / 451.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.367, allocations: 3.77 MB / 454.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.367, allocations: 4 kB / 454.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.367, allocations: 0 / 454.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001236/0.3671, allocations: 0 / 454.8 MB, free: 13.84 MB / 366.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.006783/0.3739, allocations: 2.744 MB / 457.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.374, allocations: 13.38 kB / 457.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004191/0.3744, allocations: 277.3 kB / 457.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009678/0.3753, allocations: 291.5 kB / 458.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.3783, allocations: 1.402 MB / 459.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.3784, allocations: 147.9 kB / 459.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.3787, allocations: 190 kB / 459.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/0.3833, allocations: 2.44 MB / 462.3 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.293e-05/0.3833, allocations: 11.17 kB / 462.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.3835, allocations: 76.81 kB / 462.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001307/0.3837, allocations: 95.3 kB / 462.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/0.3874, allocations: 1.987 MB / 464.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.4003, allocations: 7.332 MB / 471.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.4023, allocations: 1.275 MB / 473.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.4038, allocations: 0.8229 MB / 473.9 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.4041, allocations: 129.6 kB / 474.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.4052, allocations: 0.6832 MB / 474.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.697e-06/0.4052, allocations: 1.922 kB / 474.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01618/0.4214, allocations: 7.363 MB / 482.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.4215, allocations: 175.2 kB / 482.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.4239, allocations: 1.431 MB / 483.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.424, allocations: 45.7 kB / 483.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.425, allocations: 0.9623 MB / 484.7 MB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/0.4254, allocations: 440.3 kB / 485.1 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.4259, allocations: 243.5 kB / 485.4 MB, free: 5.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.426, allocations: 357.9 kB / 485.7 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.4271, allocations: 0.6382 MB / 486.4 MB, free: 4.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.4285, allocations: 1.001 MB / 487.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.4309, allocations: 1.711 MB / 489.1 MB, free: 1.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4309, allocations: 4 kB / 489.1 MB, free: 1.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004226/0.4352, allocations: 2.348 MB / 491.4 MB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.4352, allocations: 8 kB / 491.4 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4352, allocations: 12.25 kB / 491.5 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.4364, allocations: 491.9 kB / 491.9 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.4375, allocations: 295.5 kB / 492.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007884/0.4454, allocations: 7.195 MB / 499.4 MB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.447, allocations: 99.8 kB / 499.5 MB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.4471, allocations: 55.98 kB / 499.6 MB, free: 6.918 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.001471/0.4486, allocations: 0.6379 MB / 0.4885 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/0.4491, allocations: 159 kB / 0.4886 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.4531, allocations: 2.143 MB / 0.4907 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4531, allocations: 12 kB / 0.4907 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.4531, allocations: 4 kB / 0.4907 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4531, allocations: 3.984 kB / 0.4907 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008598/0.4617, allocations: 4.444 MB / 0.4951 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.4617, allocations: 4 kB / 0.4951 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.4625, allocations: 191.6 kB / 0.4953 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.4639, allocations: 0.5391 MB / 0.4958 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-05/0.464, allocations: 35.98 kB / 0.4958 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009347/0.4734, allocations: 8.733 MB / 0.5044 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4734, allocations: 4.688 kB / 0.5044 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0053/0.4787, allocations: 3.084 MB / 0.5074 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.4798, allocations: 379.9 kB / 0.5077 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.48, allocations: 35.98 kB / 0.5078 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/0.4808, allocations: 67.94 kB / 0.5078 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.481, allocations: 96.8 kB / 0.5079 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.4811, allocations: 40.17 kB / 0.508 GB, free: 1.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00162/0.4827, allocations: 0.9796 MB / 0.5089 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4827, allocations: 8 kB / 0.5089 GB, free: 500 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001721/0.4845, allocations: 455.9 kB / 0.5094 GB, free: 44 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.006954/0.4914, allocations: 4.023 MB / 0.5133 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003844/0.4953, allocations: 2.185 MB / 0.5154 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4953, allocations: 0 / 0.5154 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.4977, allocations: 1.468 MB / 0.5169 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.5002, allocations: 425.2 kB / 0.5173 GB, free: 7.867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/0.5286, allocations: 16.22 MB / 0.5331 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.5303, allocations: 1.704 MB / 0.5348 GB, free: 5.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.5315, allocations: 321 kB / 0.5351 GB, free: 5.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.5326, allocations: 0.7531 MB / 0.5358 GB, free: 4.285 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5326, allocations: 0 / 0.5358 GB, free: 4.285 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0998/0.6324, allocations: 41.88 MB / 0.5767 GB, free: 10.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.81, allocations: 10.95 kB / 0.5767 GB, free: 10.73 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.95365409506485]