Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001258, allocations: 96.89 kB / 16.93 MB, free: 5.984 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.001449/0.001449, allocations: 179.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007181/0.0007182, allocations: 16 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1392, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01741/0.1567, allocations: 7.642 MB / 336 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.1702, allocations: 3.253 MB / 339.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.1728, allocations: 43.75 kB / 339.3 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.177, allocations: 0.6105 MB / 339.9 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.1827, allocations: 0.6971 MB / 340.6 MB, free: 7.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.1853, allocations: 319.4 kB / 340.9 MB, free: 7.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005656/0.191, allocations: 1.575 MB / 342.5 MB, free: 5.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.1942, allocations: 1.22 MB / 343.7 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.1968, allocations: 0.7706 MB / 344.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.2001, allocations: 1 MB / 345.5 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006007/0.2008, allocations: 127.9 kB / 345.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.2023, allocations: 207.8 kB / 345.8 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.2036, allocations: 0.5881 MB / 346.4 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.205, allocations: 460.5 kB / 346.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006211/0.2113, allocations: 2.945 MB / 349.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2113, allocations: 0 / 349.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.13e-06/0.2114, allocations: 0 / 349.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001336/0.2115, allocations: 0 / 349.8 MB, free: 14.55 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.01085/0.2224, allocations: 2.266 MB / 352 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.518e-05/0.2225, allocations: 8.031 kB / 352 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.2244, allocations: 277 kB / 352.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005581/0.23, allocations: 1.256 MB / 353.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.2303, allocations: 147.7 kB / 353.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007973/0.2311, allocations: 187.9 kB / 353.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006554/0.2377, allocations: 2.405 MB / 356.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.95e-05/0.2378, allocations: 11.89 kB / 356.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.2381, allocations: 83.97 kB / 356.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/0.2383, allocations: 99.67 kB / 356.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/0.2427, allocations: 1.97 MB / 358.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/0.2572, allocations: 7.386 MB / 365.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.2592, allocations: 1.355 MB / 367.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.2595, allocations: 122.1 kB / 367.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.2606, allocations: 0.6867 MB / 368 MB, free: 11.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 4.379e-06/0.2607, allocations: 0 / 368 MB, free: 11.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01642/0.2771, allocations: 7.383 MB / 375.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.2773, allocations: 175.2 kB / 375.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.2797, allocations: 1.368 MB / 376.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.2799, allocations: 45.7 kB / 377 MB, free: 2.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008649/0.2807, allocations: 0.9326 MB / 377.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.2811, allocations: 425.9 kB / 378.3 MB, free: 1.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.2812, allocations: 28 kB / 378.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2814, allocations: 357.9 kB / 378.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.2824, allocations: 0.6442 MB / 379.3 MB, free: 248 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2956/0.5781, allocations: 0.9884 MB / 380.3 MB, free: 50 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.5799, allocations: 0.7944 MB / 381.1 MB, free: 49.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.5799, allocations: 2.75 kB / 381.1 MB, free: 49.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005579/0.5855, allocations: 2.324 MB / 383.5 MB, free: 49.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.5856, allocations: 8.188 kB / 383.5 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/0.5856, allocations: 9.969 kB / 383.5 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.587, allocations: 473 kB / 383.9 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.5883, allocations: 311.1 kB / 384.2 MB, free: 49.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007037/0.5954, allocations: 6.525 MB / 390.8 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.5972, allocations: 98.73 kB / 390.9 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.5973, allocations: 55.14 kB / 390.9 MB, free: 44.37 MB / 318.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 ($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 (151): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001605/0.599, allocations: 0.6313 MB / 391.5 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/0.5995, allocations: 154.4 kB / 391.7 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004841/0.6043, allocations: 2.137 MB / 393.8 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.6044, allocations: 14.31 kB / 393.8 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.6044, allocations: 4.281 kB / 393.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.6044, allocations: 6.422 kB / 393.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008136/0.6126, allocations: 4.419 MB / 398.3 MB, free: 41.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.6126, allocations: 2.75 kB / 398.3 MB, free: 41.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008569/0.6135, allocations: 194 kB / 398.5 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.6148, allocations: 0.521 MB / 399 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.339e-05/0.615, allocations: 31.03 kB / 399 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006026/0.621, allocations: 7.99 MB / 407 MB, free: 34.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.6211, allocations: 3.812 kB / 407 MB, free: 34.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/0.6254, allocations: 3.246 MB / 410.3 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008598/0.6263, allocations: 367 kB / 410.6 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.6266, allocations: 32 kB / 410.6 MB, free: 31.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.6273, allocations: 75.92 kB / 410.7 MB, free: 31.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.6275, allocations: 96.77 kB / 410.8 MB, free: 31.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.6276, allocations: 43.98 kB / 410.9 MB, free: 30.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.6288, allocations: 0.9401 MB / 411.8 MB, free: 30.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6288, allocations: 0 / 411.8 MB, free: 30.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001867/0.6306, allocations: 443.5 kB / 412.2 MB, free: 29.61 MB / 318.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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/0.6319, allocations: 464.9 kB / 412.7 MB, free: 29.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003491/0.6354, allocations: 2.233 MB / 414.9 MB, free: 26.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6354, allocations: 4 kB / 414.9 MB, free: 26.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.6374, allocations: 1.515 MB / 416.4 MB, free: 25.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.6394, allocations: 382.8 kB / 416.8 MB, free: 24.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.6467, allocations: 5.043 MB / 421.9 MB, free: 19.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.6479, allocations: 1.741 MB / 423.6 MB, free: 18.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00129/0.6492, allocations: 328.9 kB / 423.9 MB, free: 17.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.6495, allocations: 111.4 kB / 424 MB, free: 17.61 MB / 318.1 MB Notification: Performance of SimCode: time 1.994e-06/0.6495, allocations: 0 / 424 MB, free: 17.61 MB / 318.1 MB Notification: Performance of Templates: time 0.03855/0.688, allocations: 22.36 MB / 446.4 MB, free: 11.21 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches