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.001199/0.001199, allocations: 103.8 kB / 16.92 MB, free: 6.145 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.001326/0.001326, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.555/1.555, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 51.8 kB / 300.7 MB, free: 5.746 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08972, allocations: 49.44 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01142/0.1012, allocations: 9.463 MB / 359.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007535/0.1088, allocations: 3.451 MB / 363.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.1106, allocations: 55.75 kB / 363.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.113, allocations: 0.7223 MB / 363.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.116, allocations: 0.8038 MB / 364.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.1175, allocations: 471.1 kB / 365.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.1208, allocations: 2.401 MB / 367.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/0.1233, allocations: 1.77 MB / 369.3 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1775/0.3008, allocations: 1.087 MB / 370.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/0.3034, allocations: 1.39 MB / 371.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008774/0.3043, allocations: 278.3 kB / 372 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3056, allocations: 403.6 kB / 372.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000954/0.3066, allocations: 0.8031 MB / 373.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.3084, allocations: 1.279 MB / 374.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00464/0.3131, allocations: 3.694 MB / 378.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3131, allocations: 1.125 kB / 378.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3131, allocations: 0 / 378.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.291e-05/0.3132, allocations: 0.5312 kB / 378.2 MB, free: 11.07 MB / 302.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.006412/0.3196, allocations: 2.662 MB / 380.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.141e-05/0.3197, allocations: 9.875 kB / 380.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000514/0.3202, allocations: 280.5 kB / 381.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009177/0.3211, allocations: 268.5 kB / 381.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.3235, allocations: 1.346 MB / 382.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.3236, allocations: 141.6 kB / 382.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.324, allocations: 200.8 kB / 383.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/0.3285, allocations: 2.439 MB / 385.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/0.3286, allocations: 6.094 kB / 385.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.3288, allocations: 81.7 kB / 385.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.3289, allocations: 94.72 kB / 385.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.3322, allocations: 1.985 MB / 387.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009725/0.342, allocations: 7.397 MB / 395.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.3435, allocations: 1.357 MB / 396.5 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.3448, allocations: 0.8914 MB / 397.4 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.345, allocations: 117.8 kB / 397.5 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008411/0.3459, allocations: 0.6791 MB / 398.2 MB, free: 288 kB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.755e-06/0.3459, allocations: 4 kB / 398.2 MB, free: 284 kB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.01615/0.3621, allocations: 7.325 MB / 405.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3622, allocations: 175.2 kB / 405.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.3648, allocations: 1.415 MB / 407.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.365, allocations: 45.7 kB / 407.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009785/0.366, allocations: 0.9322 MB / 408 MB, free: 7.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.3663, allocations: 423.3 kB / 408.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.3667, allocations: 249 kB / 408.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3669, allocations: 357.9 kB / 409 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009915/0.3679, allocations: 0.6403 MB / 409.7 MB, free: 6.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.3694, allocations: 1 MB / 410.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.3718, allocations: 1.708 MB / 412.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.3718, allocations: 4 kB / 412.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004054/0.3759, allocations: 2.337 MB / 414.7 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.3759, allocations: 8 kB / 414.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.376, allocations: 8.25 kB / 414.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.3772, allocations: 0.496 MB / 415.3 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.3783, allocations: 298.5 kB / 415.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006754/0.3851, allocations: 7.191 MB / 422.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.3865, allocations: 91.89 kB / 422.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.3867, allocations: 59.98 kB / 422.9 MB, free: 8.266 MB / 334.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.001227/0.388, allocations: 0.6329 MB / 423.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.3884, allocations: 154.1 kB / 423.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.3922, allocations: 2.151 MB / 425.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.3922, allocations: 16 kB / 425.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.3923, allocations: 4 kB / 425.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.3923, allocations: 6.047 kB / 425.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00972/0.402, allocations: 4.466 MB / 430.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.4021, allocations: 4.375 kB / 430.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.4034, allocations: 190.5 kB / 430.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/0.4056, allocations: 0.5481 MB / 431 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.4058, allocations: 32.03 kB / 431.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009498/0.4153, allocations: 8.738 MB / 439.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/0.4154, allocations: 14.61 kB / 439.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005864/0.4213, allocations: 3.081 MB / 442.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.4223, allocations: 371.1 kB / 443.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/0.4229, allocations: 32 kB / 443.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.4241, allocations: 67.92 kB / 443.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.4244, allocations: 98.16 kB / 443.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.199e-05/0.4245, allocations: 39.98 kB / 443.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002164/0.4267, allocations: 0.9792 MB / 444.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4267, allocations: 0 / 444.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002407/0.4291, allocations: 456 kB / 444.9 MB, free: 1.539 MB / 350.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.006351/0.4355, allocations: 4.015 MB / 448.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005114/0.4406, allocations: 2.681 MB / 451.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.4407, allocations: 0 / 451.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.4433, allocations: 1.524 MB / 453.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.446, allocations: 419 kB / 453.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/0.4746, allocations: 17.55 MB / 471.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.4763, allocations: 1.694 MB / 472.8 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001145/0.4774, allocations: 325 kB / 473.1 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.4786, allocations: 0.7414 MB / 473.9 MB, free: 3.738 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4786, allocations: 0 / 473.9 MB, free: 3.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09943/0.578, allocations: 40.56 MB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.23, allocations: 4 kB / 0.5024 GB, free: 11.65 MB / 430.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