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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 113.8 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 194.9 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009972/0.0009973, allocations: 51.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2198, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01021/0.23, allocations: 9.466 MB / 409.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006246/0.2363, allocations: 3.459 MB / 413.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.2381, allocations: 51.75 kB / 413.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.2403, allocations: 0.7564 MB / 414 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.2427, allocations: 0.839 MB / 414.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2439, allocations: 482.8 kB / 415.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.2468, allocations: 2.412 MB / 417.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.249, allocations: 1.77 MB / 419.5 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.2507, allocations: 1.106 MB / 420.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.2528, allocations: 1.378 MB / 422 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004585/0.2532, allocations: 280 kB / 422.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007815/0.254, allocations: 411.8 kB / 422.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007916/0.2548, allocations: 0.7986 MB / 423.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.2562, allocations: 1.283 MB / 424.7 MB, free: 232 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004059/0.2603, allocations: 3.741 MB / 428.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2604, allocations: 0 / 428.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2604, allocations: 0 / 428.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.973e-05/0.2605, allocations: 0 / 428.5 MB, free: 12.47 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.005561/0.266, allocations: 2.735 MB / 431.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2661, allocations: 8.031 kB / 431.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000347/0.2664, allocations: 278.6 kB / 431.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006787/0.2671, allocations: 287.3 kB / 431.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.2698, allocations: 1.401 MB / 433.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2699, allocations: 143.7 kB / 433.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.2702, allocations: 184 kB / 433.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.2743, allocations: 2.436 MB / 435.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.2743, allocations: 11.89 kB / 435.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.2745, allocations: 83.97 kB / 436 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.422e-05/0.2746, allocations: 91.69 kB / 436.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/0.2782, allocations: 1.986 MB / 438.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.2903, allocations: 7.337 MB / 445.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.2924, allocations: 1.347 MB / 446.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.294, allocations: 0.8737 MB / 447.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.2942, allocations: 122 kB / 447.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.2953, allocations: 0.6828 MB / 448.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.655e-06/0.2953, allocations: 0 / 448.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01562/0.311, allocations: 7.373 MB / 455.8 MB, free: 468 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.3111, allocations: 167.2 kB / 456 MB, free: 264 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.313, allocations: 1.415 MB / 457.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.3132, allocations: 45.7 kB / 457.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007851/0.314, allocations: 0.9583 MB / 458.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/0.3144, allocations: 440.2 kB / 458.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.3149, allocations: 251.5 kB / 459.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.315, allocations: 357.9 kB / 459.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009651/0.316, allocations: 0.6364 MB / 460.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.3173, allocations: 1.001 MB / 461.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.3197, allocations: 1.707 MB / 462.8 MB, free: 9.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3197, allocations: 0 / 462.8 MB, free: 9.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003913/0.3236, allocations: 2.36 MB / 465.1 MB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3236, allocations: 8 kB / 465.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.3237, allocations: 8.047 kB / 465.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.3248, allocations: 0.4884 MB / 465.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.3259, allocations: 295.5 kB / 465.9 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.3328, allocations: 7.188 MB / 473.1 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.334, allocations: 95.92 kB / 473.2 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3341, allocations: 52 kB / 473.2 MB, free: 14.18 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.0009528/0.3351, allocations: 0.6378 MB / 473.9 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.3353, allocations: 163 kB / 474 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.3389, allocations: 2.155 MB / 476.2 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3389, allocations: 12 kB / 476.2 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.3389, allocations: 8.062 kB / 476.2 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3389, allocations: 11.97 kB / 476.2 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007063/0.346, allocations: 4.442 MB / 480.7 MB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.346, allocations: 8.031 kB / 480.7 MB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.3468, allocations: 191.7 kB / 480.9 MB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.3482, allocations: 0.531 MB / 481.4 MB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.3483, allocations: 31.98 kB / 481.4 MB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007938/0.3563, allocations: 8.751 MB / 490.2 MB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3563, allocations: 4.031 kB / 490.2 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004781/0.3611, allocations: 3.092 MB / 493.3 MB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/0.362, allocations: 379.9 kB / 493.6 MB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.3622, allocations: 35.98 kB / 493.7 MB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000823/0.3631, allocations: 63.94 kB / 493.7 MB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.3633, allocations: 100.8 kB / 493.8 MB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/0.3634, allocations: 35.98 kB / 493.9 MB, free: 8.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.3648, allocations: 0.9792 MB / 494.9 MB, free: 7.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3648, allocations: 3.938 kB / 494.9 MB, free: 7.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001491/0.3663, allocations: 451.9 kB / 495.3 MB, free: 7.258 MB / 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.005707/0.372, allocations: 4.03 MB / 499.3 MB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.3755, allocations: 2.259 MB / 0.4898 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3755, allocations: 0 / 0.4898 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.3778, allocations: 1.51 MB / 0.4913 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.3797, allocations: 428.6 kB / 0.4917 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/0.4032, allocations: 16.19 MB / 0.5075 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.4047, allocations: 1.702 MB / 0.5092 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009679/0.4057, allocations: 325 kB / 0.5095 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009449/0.4066, allocations: 0.7375 MB / 0.5102 GB, free: 11.41 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4066, allocations: 0 / 0.5102 GB, free: 11.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2371/0.6437, allocations: 41.36 MB / 0.5506 GB, free: 129.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.53, allocations: 8.578 kB / 0.5506 GB, free: 129.7 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.csv","/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) Reference file matches