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.001215/0.001215, allocations: 100.3 kB / 18.39 MB, free: 4.66 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.001314/0.001314, allocations: 188.2 kB / 19.33 MB, free: 3.738 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.45/1.45, 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.0013/0.0013, allocations: 55.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09144, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.1798/0.2712, allocations: 9.424 MB / 385.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005566/0.2769, allocations: 3.398 MB / 388.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.2782, allocations: 43.47 kB / 388.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.2803, allocations: 0.7339 MB / 389.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.2831, allocations: 0.8027 MB / 390.2 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.2844, allocations: 454.3 kB / 390.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.2878, allocations: 2.418 MB / 393.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.2898, allocations: 1.733 MB / 394.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.2917, allocations: 1.093 MB / 395.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.2939, allocations: 1.385 MB / 397.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006006/0.2945, allocations: 279.9 kB / 397.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.2957, allocations: 404.6 kB / 398 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008436/0.2966, allocations: 0.8089 MB / 398.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.2981, allocations: 1.276 MB / 400.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004525/0.3027, allocations: 3.732 MB / 403.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3027, allocations: 0 / 403.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3027, allocations: 0 / 403.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001039/0.3028, allocations: 1.094 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.006623/0.3095, allocations: 2.66 MB / 406.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3095, allocations: 14.7 kB / 406.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008616/0.3104, allocations: 266.6 kB / 406.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.313, allocations: 1.311 MB / 408 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.3131, allocations: 139.4 kB / 408.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.3135, allocations: 195.7 kB / 408.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005318/0.3188, allocations: 2.436 MB / 410.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/0.3189, allocations: 1.938 kB / 410.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.3191, allocations: 80.94 kB / 410.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.3193, allocations: 99.08 kB / 411 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/0.3229, allocations: 1.986 MB / 413 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.3357, allocations: 7.315 MB / 420.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.3377, allocations: 1.355 MB / 421.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.3392, allocations: 0.8676 MB / 422.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.3395, allocations: 122.1 kB / 422.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.3405, allocations: 0.6876 MB / 423.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.775e-06/0.3405, allocations: 0 / 423.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01585/0.3564, allocations: 7.361 MB / 430.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3565, allocations: 196.9 kB / 430.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.3586, allocations: 1.414 MB / 432.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.3588, allocations: 49.7 kB / 432.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008018/0.3596, allocations: 0.9288 MB / 433.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.36, allocations: 421.9 kB / 433.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/0.3604, allocations: 247.4 kB / 433.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3606, allocations: 357.9 kB / 434.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3616, allocations: 0.6325 MB / 434.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.3629, allocations: 1.007 MB / 435.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.3653, allocations: 1.708 MB / 437.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.3653, allocations: 4 kB / 437.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004073/0.3694, allocations: 2.336 MB / 439.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3694, allocations: 8 kB / 439.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.3695, allocations: 12 kB / 440 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.3706, allocations: 492.2 kB / 440.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.3718, allocations: 299.5 kB / 440.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006909/0.3787, allocations: 7.18 MB / 447.9 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.3803, allocations: 103.7 kB / 448 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.3804, allocations: 52 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.00114/0.3816, allocations: 0.6341 MB / 448.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.3819, allocations: 154.1 kB / 448.8 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.3855, allocations: 2.147 MB / 451 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.3856, allocations: 12 kB / 451 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.3856, allocations: 4 kB / 451 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.3856, allocations: 3.984 kB / 451 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007665/0.3933, allocations: 4.544 MB / 455.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.3933, allocations: 8 kB / 455.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.3941, allocations: 191.8 kB / 455.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.3956, allocations: 0.5352 MB / 456.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.3957, allocations: 31.98 kB / 456.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007993/0.4037, allocations: 8.718 MB / 465 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.63e-05/0.4037, allocations: 11.92 kB / 465 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/0.4088, allocations: 3.087 MB / 468.1 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009047/0.4097, allocations: 375 kB / 468.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.41, allocations: 32 kB / 468.5 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008427/0.4109, allocations: 71.92 kB / 468.6 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.4111, allocations: 96.8 kB / 468.7 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/0.4112, allocations: 43.92 kB / 468.7 MB, free: 364 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001505/0.4127, allocations: 0.9755 MB / 469.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4127, allocations: 4 kB / 469.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001934/0.4146, allocations: 448 kB / 470.2 MB, free: 14.93 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.001242/0.4159, allocations: 0.4926 MB / 470.7 MB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003609/0.4195, allocations: 2.252 MB / 472.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4196, allocations: 4.125 kB / 472.9 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.4219, 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.002271/0.4242, allocations: 432.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.007316/0.4315, allocations: 4.274 MB / 479.1 MB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.4329, allocations: 1.69 MB / 480.8 MB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.4334, allocations: 111.4 kB / 480.9 MB, free: 3.902 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4335, allocations: 3.938 kB / 480.9 MB, free: 3.898 MB / 398.1 MB Notification: Performance of Templates: time 0.07853/0.512, allocations: 73.3 MB / 0.5412 GB, free: 10.43 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