Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009327/0.0009326, allocations: 184.3 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.7 MB / 243.2 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007532/0.0007531, allocations: 93.86 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002534/0.0002535, allocations: 7.938 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 50.42 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007/0.2544, allocations: 8.395 MB / 413 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006586/0.261, allocations: 3.656 MB / 416.6 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.2623, allocations: 43.81 kB / 416.7 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.2639, allocations: 0.6452 MB / 417.3 MB, free: 18.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.2655, allocations: 0.7267 MB / 418 MB, free: 17.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.2664, allocations: 411.4 kB / 418.5 MB, free: 17.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.2682, allocations: 2.752 MB / 421.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.2695, allocations: 1.457 MB / 422.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.2705, allocations: 0.8635 MB / 423.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.2716, allocations: 1.194 MB / 424.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.2718, allocations: 120 kB / 424.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.2724, allocations: 247.8 kB / 425.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004506/0.2728, allocations: 0.6267 MB / 425.7 MB, free: 10 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007177/0.2736, allocations: 1.09 MB / 426.8 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.2756, allocations: 3.492 MB / 430.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2756, allocations: 4 kB / 430.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2756, allocations: 4 kB / 430.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.875e-05/0.2756, allocations: 0 / 430.3 MB, free: 5.391 MB / 298.7 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.003318/0.279, allocations: 2.266 MB / 432.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.279, allocations: 8.031 kB / 432.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005095/0.2795, allocations: 269.9 kB / 432.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.2813, allocations: 1.354 MB / 434.2 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.724e-05/0.2814, allocations: 135.7 kB / 434.3 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.2816, allocations: 191.9 kB / 434.5 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/0.2853, allocations: 2.432 MB / 436.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.2854, allocations: 4 kB / 436.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.2856, allocations: 76 kB / 437 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.8e-05/0.2857, allocations: 99.61 kB / 437.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003241/0.2889, allocations: 1.97 MB / 439.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.3001, allocations: 7.44 MB / 446.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.3019, allocations: 1.341 MB / 447.9 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.3033, allocations: 0.8898 MB / 448.8 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.3035, allocations: 122.1 kB / 448.9 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.3046, allocations: 0.6866 MB / 449.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 2.855e-06/0.3046, allocations: 3.938 kB / 449.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.01544/0.32, allocations: 7.383 MB / 456.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.3202, allocations: 179.2 kB / 457.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.3223, allocations: 1.407 MB / 458.5 MB, free: 8.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/0.3224, allocations: 45.7 kB / 458.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008603/0.3232, allocations: 0.9364 MB / 459.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.3236, allocations: 422 kB / 459.9 MB, free: 7.027 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.3237, allocations: 28 kB / 459.9 MB, free: 7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3238, allocations: 357.9 kB / 460.3 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3248, allocations: 0.6363 MB / 460.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.3261, allocations: 0.9975 MB / 461.9 MB, free: 4.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.3284, allocations: 1.703 MB / 463.6 MB, free: 3.031 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.3284, allocations: 4 kB / 463.6 MB, free: 3.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003782/0.3322, allocations: 2.339 MB / 466 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3322, allocations: 8 kB / 466 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.3323, allocations: 8 kB / 466 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.3334, allocations: 496.2 kB / 466.5 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3345, allocations: 295.5 kB / 466.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.3409, allocations: 6.585 MB / 473.4 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.3421, allocations: 91.91 kB / 473.4 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.3422, allocations: 55.98 kB / 473.5 MB, free: 8.699 MB / 346.7 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 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * 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.001293/0.3435, allocations: 0.6302 MB / 474.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.3437, allocations: 154.1 kB / 474.3 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.3472, allocations: 2.155 MB / 476.4 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3472, allocations: 12 kB / 476.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3472, allocations: 7.938 kB / 476.5 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3472, allocations: 7.969 kB / 476.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006804/0.354, allocations: 4.471 MB / 480.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.354, allocations: 8 kB / 480.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.3548, allocations: 191.8 kB / 481.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.3562, allocations: 0.5351 MB / 481.7 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.3563, allocations: 35.97 kB / 481.7 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007423/0.3637, allocations: 8.018 MB / 489.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3638, allocations: 4 kB / 489.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/0.3684, allocations: 3.07 MB / 492.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007036/0.3692, allocations: 375.1 kB / 493.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.3694, allocations: 32 kB / 493.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007346/0.3701, allocations: 79.86 kB / 493.3 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.3703, allocations: 88.94 kB / 493.3 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.3704, allocations: 39.98 kB / 493.4 MB, free: 3.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001353/0.3718, allocations: 0.9636 MB / 494.4 MB, free: 2.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3718, allocations: 4 kB / 494.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00141/0.3732, allocations: 455.9 kB / 494.8 MB, free: 2.547 MB / 362.7 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.001128/0.3743, allocations: 0.5666 MB / 495.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.3777, allocations: 2.247 MB / 497.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3777, allocations: 0 / 497.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.3798, allocations: 1.518 MB / 499.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.3819, allocations: 407.4 kB / 499.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/0.3887, allocations: 5.251 MB / 0.493 GB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.39, allocations: 1.702 MB / 0.4946 GB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001055/0.3911, allocations: 321 kB / 0.4949 GB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.3914, allocations: 111.4 kB / 0.495 GB, free: 6.316 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3914, allocations: 0 / 0.495 GB, free: 6.316 MB / 378.7 MB Notification: Performance of Templates: time 0.2108/0.6022, allocations: 23.43 MB / 0.5179 GB, free: 85.87 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","../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