Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001274, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009123/0.0009123, allocations: 88.91 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002351/0.0002352, allocations: 11.98 kB / 360.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2357, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007907/0.2437, allocations: 8.425 MB / 420.5 MB, free: 17.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.2497, allocations: 4.371 MB / 424.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.2514, allocations: 43.81 kB / 424.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.2535, allocations: 0.6568 MB / 425.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.2561, allocations: 0.7657 MB / 426.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2572, allocations: 419.4 kB / 426.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.2596, allocations: 2.748 MB / 429.5 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.2609, allocations: 1.454 MB / 430.9 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.2622, allocations: 0.8674 MB / 431.8 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.2633, allocations: 1.194 MB / 433 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.2636, allocations: 120 kB / 433.1 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.2642, allocations: 263.8 kB / 433.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004883/0.2647, allocations: 0.6228 MB / 434 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008942/0.2656, allocations: 1.097 MB / 435.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.2682, allocations: 3.507 MB / 438.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2682, allocations: 0 / 438.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2682, allocations: 0 / 438.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.712e-05/0.2683, allocations: 0 / 438.6 MB, free: 14.99 MB / 314.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.004605/0.2729, allocations: 2.289 MB / 440.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.273, allocations: 8.031 kB / 440.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/0.2738, allocations: 277.9 kB / 441.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.2761, allocations: 1.353 MB / 442.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.2762, allocations: 139.7 kB / 442.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/0.2765, allocations: 203.8 kB / 442.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004274/0.2808, allocations: 2.42 MB / 445.3 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.2809, allocations: 11.94 kB / 445.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.281, allocations: 76 kB / 445.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.2812, allocations: 99.67 kB / 445.5 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/0.2846, allocations: 1.974 MB / 447.4 MB, free: 6.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.2961, allocations: 7.437 MB / 454.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.298, allocations: 1.342 MB / 456.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.2994, allocations: 0.8894 MB / 457.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.2997, allocations: 126 kB / 457.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.3007, allocations: 0.6789 MB / 457.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.545e-06/0.3007, allocations: 0 / 457.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.01541/0.3161, allocations: 7.41 MB / 465.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3163, allocations: 167.2 kB / 465.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.3185, allocations: 1.419 MB / 466.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.938e-05/0.3186, allocations: 45.7 kB / 466.9 MB, free: 1.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000835/0.3194, allocations: 0.9444 MB / 467.9 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.3198, allocations: 417.9 kB / 468.3 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/0.3199, allocations: 32 kB / 468.3 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.32, allocations: 353.9 kB / 468.7 MB, free: 188 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009755/0.321, allocations: 0.6364 MB / 469.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.3222, allocations: 0.9975 MB / 470.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.3245, allocations: 1.699 MB / 472 MB, free: 12.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3245, allocations: 0 / 472 MB, free: 12.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00384/0.3284, allocations: 2.336 MB / 474.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.3284, allocations: 8 kB / 474.3 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3285, allocations: 12.25 kB / 474.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3296, allocations: 495.9 kB / 474.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.3307, allocations: 295.5 kB / 475.1 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/0.337, allocations: 6.589 MB / 481.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.3386, allocations: 95.83 kB / 481.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3388, allocations: 55.98 kB / 481.9 MB, free: 2.246 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.001255/0.34, allocations: 0.635 MB / 482.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.3403, allocations: 150.1 kB / 482.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.3439, allocations: 2.155 MB / 484.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.3439, allocations: 12 kB / 484.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3439, allocations: 4 kB / 484.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3439, allocations: 7.984 kB / 484.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007021/0.3509, allocations: 4.479 MB / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.351, allocations: 0 / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007602/0.3517, allocations: 195.7 kB / 489.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.3531, allocations: 0.5316 MB / 490 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-05/0.3532, allocations: 35.98 kB / 490.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007293/0.3605, allocations: 8.022 MB / 498.1 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3605, allocations: 7.938 kB / 498.1 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/0.3653, allocations: 3.081 MB / 0.4894 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/0.3662, allocations: 367.1 kB / 0.4898 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.3665, allocations: 35.98 kB / 0.4898 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.3673, allocations: 75.86 kB / 0.4899 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.3676, allocations: 96.81 kB / 0.49 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.3676, allocations: 39.98 kB / 0.49 GB, free: 13.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.3692, allocations: 0.9756 MB / 0.491 GB, free: 12.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3692, allocations: 0 / 0.491 GB, free: 12.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001536/0.3707, allocations: 452.1 kB / 0.4914 GB, free: 12.07 MB / 378.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.001118/0.3719, allocations: 0.5463 MB / 0.4919 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.3757, allocations: 2.255 MB / 0.4941 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3757, allocations: 0.5625 kB / 0.4941 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.3781, allocations: 1.518 MB / 0.4956 GB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.3808, allocations: 404.7 kB / 0.496 GB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/0.3879, allocations: 5.268 MB / 0.5012 GB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.3893, allocations: 1.709 MB / 0.5028 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.1809/0.5702, allocations: 320.5 kB / 0.5031 GB, free: 88.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/0.571, allocations: 106.7 kB / 0.5032 GB, free: 88.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.571, allocations: 0 / 0.5032 GB, free: 88.21 MB / 378.7 MB Notification: Performance of Templates: time 0.04223/0.6132, allocations: 23.52 MB / 0.5262 GB, free: 75.16 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches