Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.395/1.395, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 67.89 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2233, allocations: 50.55 MB / 410.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01176/0.2351, allocations: 9.525 MB / 419.8 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.2419, allocations: 3.627 MB / 423.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.2433, allocations: 51.75 kB / 423.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.2452, allocations: 0.7689 MB / 424.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.2479, allocations: 0.8779 MB / 425.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2491, allocations: 463 kB / 425.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.2524, allocations: 2.428 MB / 428 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.2542, allocations: 1.29 MB / 429.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.256, allocations: 1.113 MB / 430.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.2581, allocations: 1.39 MB / 431.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004423/0.2586, allocations: 276 kB / 432 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008467/0.2594, allocations: 427.7 kB / 432.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000818/0.2602, allocations: 0.8141 MB / 433.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.2616, allocations: 1.283 MB / 434.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.266, allocations: 3.764 MB / 438.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.266, allocations: 0 / 438.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.266, allocations: 0 / 438.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.443e-05/0.266, allocations: 7.938 kB / 438.3 MB, free: 5.184 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.005567/0.2716, allocations: 2.742 MB / 441.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2716, allocations: 12.03 kB / 441.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008124/0.2724, allocations: 287.3 kB / 441.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.275, allocations: 1.401 MB / 442.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.2751, allocations: 143.7 kB / 442.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/0.2754, allocations: 184 kB / 443.1 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.2796, allocations: 2.448 MB / 445.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.2797, allocations: 3.953 kB / 445.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.2799, allocations: 75.98 kB / 445.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.28, allocations: 103.7 kB / 445.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.2835, allocations: 1.986 MB / 447.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.2954, allocations: 7.334 MB / 455 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.2973, allocations: 1.286 MB / 456.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.2989, allocations: 0.8246 MB / 457.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.2991, allocations: 126.1 kB / 457.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.3002, allocations: 0.6827 MB / 457.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.615e-06/0.3002, allocations: 0 / 457.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01615/0.3164, allocations: 7.356 MB / 465.3 MB, free: 9.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.3165, allocations: 171.2 kB / 465.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.3186, allocations: 1.427 MB / 466.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.3187, allocations: 53.7 kB / 466.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009064/0.3196, allocations: 0.9584 MB / 467.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.32, allocations: 444.3 kB / 468.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.3205, allocations: 251.5 kB / 468.6 MB, free: 6.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.3207, allocations: 353.9 kB / 468.9 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3218, allocations: 0.6441 MB / 469.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.3231, allocations: 1.005 MB / 470.6 MB, free: 4.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/0.3256, allocations: 1.707 MB / 472.3 MB, free: 2.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3256, allocations: 4 kB / 472.3 MB, free: 2.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004154/0.3298, allocations: 2.34 MB / 474.6 MB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3298, allocations: 8 kB / 474.6 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3298, allocations: 8 kB / 474.6 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.331, allocations: 0.4912 MB / 475.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.3322, allocations: 303.5 kB / 475.4 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007602/0.3398, allocations: 7.186 MB / 482.6 MB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.341, allocations: 99.75 kB / 482.7 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.3411, allocations: 59.98 kB / 482.8 MB, free: 7.246 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.00107/0.3421, allocations: 0.6263 MB / 483.4 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.3424, allocations: 163 kB / 483.5 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.3462, allocations: 2.143 MB / 485.7 MB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.3462, allocations: 12 kB / 485.7 MB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3462, allocations: 4 kB / 485.7 MB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3462, allocations: 3.984 kB / 485.7 MB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007567/0.3538, allocations: 4.446 MB / 490.2 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.3538, allocations: 11.94 kB / 490.2 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.3547, allocations: 187.8 kB / 490.3 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.3561, allocations: 0.5354 MB / 490.9 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/0.3562, allocations: 31.98 kB / 490.9 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009015/0.3652, allocations: 8.74 MB / 499.7 MB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.3652, allocations: 4.031 kB / 499.7 MB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00493/0.3701, allocations: 3.085 MB / 0.491 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/0.3708, allocations: 375.9 kB / 0.4913 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.3711, allocations: 31.98 kB / 0.4913 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/0.3718, allocations: 71.94 kB / 0.4914 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.3721, allocations: 100.7 kB / 0.4915 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.3721, allocations: 39.98 kB / 0.4916 GB, free: 1.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001408/0.3735, allocations: 0.9874 MB / 0.4925 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3735, allocations: 0 / 0.4925 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001484/0.375, allocations: 451.9 kB / 0.4929 GB, free: 372 kB / 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.001623/0.3767, allocations: 0.5015 MB / 0.4934 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.3802, allocations: 2.189 MB / 0.4956 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3802, allocations: 0 / 0.4956 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.3825, allocations: 1.468 MB / 0.497 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.3844, allocations: 421 kB / 0.4974 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/0.3911, allocations: 4.308 MB / 0.5016 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.3925, allocations: 1.706 MB / 0.5033 GB, free: 5.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009867/0.3935, allocations: 329 kB / 0.5036 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.3938, allocations: 107.4 kB / 0.5037 GB, free: 5.246 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3938, allocations: 0 / 0.5037 GB, free: 5.246 MB / 430.1 MB Notification: Performance of Templates: time 0.04435/0.4382, allocations: 25.36 MB / 0.5285 GB, free: 12.13 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches