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.001316/0.001316, allocations: 110 kB / 18.4 MB, free: 4.699 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.001312/0.001312, allocations: 190.3 kB / 19.33 MB, free: 3.781 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.323/1.323, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001075/0.001075, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07984/0.08093, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.1662/0.2472, allocations: 9.414 MB / 385.2 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.2527, allocations: 3.404 MB / 388.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.2539, allocations: 41.88 kB / 388.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.2558, allocations: 0.7302 MB / 389.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.2581, allocations: 0.8063 MB / 390.2 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2592, allocations: 457 kB / 390.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.262, allocations: 2.418 MB / 393.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.2638, allocations: 1.733 MB / 394.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.2653, allocations: 1.099 MB / 395.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.267, allocations: 1.385 MB / 397.3 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.2674, allocations: 279.4 kB / 397.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.2682, allocations: 413.2 kB / 398 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006881/0.2689, allocations: 0.8062 MB / 398.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.27, allocations: 1.271 MB / 400.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.2734, allocations: 3.736 MB / 403.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2734, allocations: 1.281 kB / 403.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2734, allocations: 0 / 403.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.736e-05/0.2735, allocations: 3.984 kB / 403.8 MB, free: 14.95 MB / 334.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.004914/0.2784, allocations: 2.661 MB / 406.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2785, allocations: 8.969 kB / 406.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006658/0.2791, allocations: 271.4 kB / 406.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.2811, allocations: 1.316 MB / 408 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2812, allocations: 136.8 kB / 408.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.2815, allocations: 194 kB / 408.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/0.2853, allocations: 2.44 MB / 410.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.364e-05/0.2853, allocations: 2.125 kB / 410.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.2855, allocations: 72.66 kB / 410.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.2856, allocations: 98.86 kB / 411 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003019/0.2886, allocations: 1.99 MB / 413 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.2993, allocations: 7.316 MB / 420.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.301, allocations: 1.351 MB / 421.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.3025, allocations: 0.8676 MB / 422.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.3027, allocations: 126.1 kB / 422.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.3038, allocations: 0.6836 MB / 423.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.765e-06/0.3038, allocations: 0 / 423.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01529/0.3191, allocations: 7.361 MB / 430.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3192, allocations: 192.9 kB / 430.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.3211, allocations: 1.418 MB / 432.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.3212, allocations: 45.7 kB / 432.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007713/0.322, allocations: 0.9327 MB / 433.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/0.3224, allocations: 425.9 kB / 433.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.3227, allocations: 247.4 kB / 433.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3229, allocations: 353.9 kB / 434.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.3238, allocations: 0.6364 MB / 434.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.325, allocations: 1.003 MB / 435.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.3272, allocations: 1.712 MB / 437.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3272, allocations: 0 / 437.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003686/0.3309, allocations: 2.332 MB / 439.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.331, allocations: 11.94 kB / 440 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.331, allocations: 12 kB / 440 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.3321, allocations: 0.4884 MB / 440.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.3331, allocations: 295.5 kB / 440.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006726/0.3398, allocations: 7.18 MB / 447.9 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.3412, allocations: 99.69 kB / 448 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.3414, allocations: 55.98 kB / 448.1 MB, free: 5.922 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.001249/0.3426, allocations: 0.6334 MB / 448.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/0.3431, allocations: 150.1 kB / 448.9 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.3468, allocations: 2.147 MB / 451 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3469, allocations: 16 kB / 451 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.3469, allocations: 4 kB / 451 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.3469, allocations: 3.984 kB / 451 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007372/0.3543, allocations: 4.544 MB / 455.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.3543, allocations: 4 kB / 455.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.355, allocations: 191.8 kB / 455.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.3564, allocations: 0.5352 MB / 456.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.3565, allocations: 39.98 kB / 456.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0078/0.3643, allocations: 8.718 MB / 465.1 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.3643, allocations: 7.938 kB / 465.1 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004575/0.3689, allocations: 3.087 MB / 468.1 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/0.3697, allocations: 367.1 kB / 468.5 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/0.3701, allocations: 35.92 kB / 468.5 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/0.3711, allocations: 75.88 kB / 468.6 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.3713, allocations: 100.8 kB / 468.7 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/0.3714, allocations: 35.98 kB / 468.7 MB, free: 372 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001572/0.373, allocations: 0.9792 MB / 469.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.373, allocations: 4 kB / 469.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001864/0.3748, allocations: 448 kB / 470.2 MB, free: 14.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (105): * Single equations (assignments): 98 * 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.001202/0.3761, allocations: 0.4906 MB / 470.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.3798, allocations: 2.252 MB / 472.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3798, allocations: 4.062 kB / 472.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.3822, allocations: 1.522 MB / 474.4 MB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.3846, allocations: 428.3 kB / 474.9 MB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.3921, allocations: 4.286 MB / 479.1 MB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.3938, allocations: 1.682 MB / 480.8 MB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/0.3943, allocations: 123.4 kB / 480.9 MB, free: 3.891 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3943, allocations: 3.938 kB / 480.9 MB, free: 3.887 MB / 398.1 MB Notification: Performance of Templates: time 0.07438/0.4687, allocations: 73.5 MB / 0.5415 GB, free: 10.22 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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