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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001826, allocations: 67.89 kB / 358.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2373, allocations: 50.54 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01132/0.2487, allocations: 9.506 MB / 418.3 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006316/0.255, allocations: 3.63 MB / 421.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.2561, allocations: 47.81 kB / 422 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.2578, allocations: 0.733 MB / 422.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.26, allocations: 0.8583 MB / 423.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.2611, allocations: 451.1 kB / 424 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002749/0.2638, allocations: 2.428 MB / 426.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002059/0.2659, allocations: 1.767 MB / 428.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.2674, allocations: 1.098 MB / 429.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.2693, allocations: 1.393 MB / 430.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003983/0.2697, allocations: 280 kB / 430.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007546/0.2705, allocations: 411.8 kB / 431.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000798/0.2713, allocations: 0.8064 MB / 432.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.2727, allocations: 1.287 MB / 433.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.2767, allocations: 3.764 MB / 437.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2767, allocations: 0 / 437.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2767, allocations: 3.938 kB / 437.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.402e-05/0.2768, allocations: 4 kB / 437.2 MB, free: 4.906 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.005094/0.2819, allocations: 2.742 MB / 440 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2819, allocations: 12.03 kB / 440 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003488/0.2823, allocations: 278.6 kB / 440.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.2831, allocations: 291.3 kB / 440.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.2854, allocations: 1.401 MB / 441.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.2855, allocations: 139.8 kB / 442.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.2858, allocations: 191.9 kB / 442.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.2898, allocations: 2.44 MB / 444.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.2899, allocations: 3.953 kB / 444.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.2901, allocations: 87.98 kB / 444.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.2902, allocations: 87.69 kB / 444.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/0.2936, allocations: 1.99 MB / 446.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.3047, allocations: 7.334 MB / 454.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.3067, allocations: 1.348 MB / 455.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.3082, allocations: 0.8715 MB / 456.4 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.3084, allocations: 126 kB / 456.5 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.3095, allocations: 0.6827 MB / 457.2 MB, free: 448 kB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.595e-06/0.3095, allocations: 4 kB / 457.2 MB, free: 444 kB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01539/0.3249, allocations: 7.371 MB / 464.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.3251, allocations: 171.2 kB / 464.8 MB, free: 8.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.3271, allocations: 1.431 MB / 466.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.3272, allocations: 49.64 kB / 466.2 MB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008508/0.3281, allocations: 0.9623 MB / 467.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003796/0.3285, allocations: 444.3 kB / 467.6 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/0.3289, allocations: 259.4 kB / 467.9 MB, free: 5.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3291, allocations: 353.9 kB / 468.2 MB, free: 5.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.3301, allocations: 0.6364 MB / 468.9 MB, free: 4.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.3314, allocations: 1.005 MB / 469.9 MB, free: 3.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.3339, allocations: 1.699 MB / 471.6 MB, free: 1.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.3339, allocations: 4 kB / 471.6 MB, free: 1.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003976/0.3379, allocations: 2.352 MB / 473.9 MB, free: 15.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3379, allocations: 8 kB / 473.9 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3379, allocations: 12 kB / 473.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.3391, allocations: 496.1 kB / 474.4 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.3402, allocations: 295.6 kB / 474.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007415/0.3476, allocations: 7.195 MB / 481.9 MB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.3488, allocations: 91.86 kB / 482 MB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.3489, allocations: 52 kB / 482.1 MB, free: 6.566 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.001051/0.35, allocations: 0.6302 MB / 482.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.3503, allocations: 163 kB / 482.8 MB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.3539, allocations: 2.155 MB / 485 MB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.354, allocations: 12 kB / 485 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.354, allocations: 4 kB / 485 MB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.354, allocations: 7.969 kB / 485 MB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007269/0.3613, allocations: 4.465 MB / 489.5 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.3613, allocations: 8 kB / 489.5 MB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/0.3621, allocations: 187.8 kB / 489.7 MB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.3635, allocations: 0.5392 MB / 490.2 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.665e-05/0.3636, allocations: 35.98 kB / 490.3 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008641/0.3722, allocations: 8.732 MB / 499 MB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.3722, allocations: 7.938 kB / 499 MB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/0.3771, allocations: 3.092 MB / 0.4903 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.3778, allocations: 379.9 kB / 0.4907 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.378, allocations: 28 kB / 0.4907 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/0.3787, allocations: 75.92 kB / 0.4908 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.379, allocations: 92.75 kB / 0.4909 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/0.3791, allocations: 39.98 kB / 0.4909 GB, free: 1.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.3805, allocations: 0.9874 MB / 0.4919 GB, free: 88 kB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3805, allocations: 0 / 0.4919 GB, free: 88 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001468/0.3819, allocations: 459.9 kB / 0.4923 GB, free: 15.64 MB / 430.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.006593/0.3885, allocations: 4.029 MB / 0.4962 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.3922, allocations: 2.256 MB / 0.4985 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.3922, allocations: 8 kB / 0.4985 GB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002325/0.3946, allocations: 1.514 MB / 0.4999 GB, free: 7.707 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.3965, allocations: 425.6 kB / 0.5003 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/0.4217, allocations: 16.24 MB / 0.5162 GB, free: 6.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/0.4233, allocations: 1.702 MB / 0.5179 GB, free: 4.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001048/0.4243, allocations: 325 kB / 0.5182 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.4254, allocations: 0.7453 MB / 0.5189 GB, free: 3.699 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4254, allocations: 0 / 0.5189 GB, free: 3.699 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2542/0.6796, allocations: 41.56 MB / 0.5595 GB, free: 116.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.58, allocations: 1.953 kB / 0.5595 GB, free: 116.7 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches