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.001325/0.001325, allocations: 115.5 kB / 17.28 MB, free: 6.219 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.001418/0.001419, allocations: 185.3 kB / 18.2 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.0014/0.0014, allocations: 47.92 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1482, allocations: 46.63 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01321/0.1615, allocations: 9.361 MB / 336.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009479/0.171, allocations: 3.34 MB / 339.5 MB, free: 8.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.1741, allocations: 43.75 kB / 339.5 MB, free: 7.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003636/0.1778, allocations: 0.6608 MB / 340.2 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.1828, allocations: 0.719 MB / 340.9 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.1852, allocations: 407.5 kB / 341.3 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00523/0.1904, allocations: 2.412 MB / 343.7 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003656/0.1941, allocations: 1.731 MB / 345.5 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.1973, allocations: 1.09 MB / 346.5 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003397/0.2007, allocations: 1.421 MB / 348 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.2019, allocations: 280 kB / 348.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.2039, allocations: 407.8 kB / 348.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.2056, allocations: 0.8103 MB / 349.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003434/0.2091, allocations: 1.287 MB / 350.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.214, allocations: 3.688 MB / 354.4 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.2141, allocations: 0 / 354.4 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.951e-06/0.2141, allocations: 7.938 kB / 354.4 MB, free: 8.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.2142, allocations: 0 / 354.4 MB, free: 8.992 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.006691/0.2209, allocations: 2.663 MB / 357.1 MB, free: 6.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.221, allocations: 8.031 kB / 357.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/0.2218, allocations: 266 kB / 357.4 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.2241, allocations: 1.307 MB / 358.7 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.2243, allocations: 143.7 kB / 358.8 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.2246, allocations: 191.9 kB / 359 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004469/0.229, allocations: 2.432 MB / 361.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-05/0.2291, allocations: 7.906 kB / 361.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.2293, allocations: 79.98 kB / 361.5 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.2295, allocations: 95.67 kB / 361.6 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.2329, allocations: 1.978 MB / 363.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.2466, allocations: 7.397 MB / 371 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.2489, allocations: 1.359 MB / 372.3 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.2505, allocations: 0.8832 MB / 373.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.2508, allocations: 130 kB / 373.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.252, allocations: 0.6836 MB / 374 MB, free: 4.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 6.763e-06/0.252, allocations: 0 / 374 MB, free: 4.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.343/0.595, allocations: 7.356 MB / 381.4 MB, free: 51.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.5952, allocations: 194.7 kB / 381.6 MB, free: 50.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.5983, allocations: 1.414 MB / 383 MB, free: 50.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003014/0.5986, allocations: 47.58 kB / 383 MB, free: 50.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.5999, allocations: 0.9311 MB / 384 MB, free: 49.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/0.6005, allocations: 425.2 kB / 384.4 MB, free: 49.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005591/0.6011, allocations: 246.5 kB / 384.6 MB, free: 49.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.6013, allocations: 362.4 kB / 385 MB, free: 48.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.6027, allocations: 0.6358 MB / 385.6 MB, free: 48.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.6044, allocations: 1 MB / 386.6 MB, free: 47.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/0.6075, allocations: 1.712 MB / 388.3 MB, free: 46.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.6076, allocations: 2.156 kB / 388.3 MB, free: 46.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006595/0.6142, allocations: 2.33 MB / 390.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.6143, allocations: 9.578 kB / 390.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.382e-05/0.6143, allocations: 10.69 kB / 390.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.6161, allocations: 0.4907 MB / 391.2 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.6176, allocations: 295.7 kB / 391.5 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/0.6261, allocations: 7.178 MB / 398.6 MB, free: 40.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.6285, allocations: 95.39 kB / 398.7 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/0.6288, allocations: 57.89 kB / 398.8 MB, free: 40.14 MB / 318.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.001859/0.6307, allocations: 0.6348 MB / 399.4 MB, free: 39.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/0.6312, allocations: 158.2 kB / 399.6 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/0.6349, allocations: 2.135 MB / 401.7 MB, free: 38.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.635, allocations: 12.88 kB / 401.7 MB, free: 38.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.635, allocations: 7.062 kB / 401.7 MB, free: 38.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.635, allocations: 11.48 kB / 401.7 MB, free: 38.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007625/0.6426, allocations: 4.559 MB / 406.3 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.6427, allocations: 3.688 kB / 406.3 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/0.6435, allocations: 190.3 kB / 406.5 MB, free: 36.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.6448, allocations: 0.5377 MB / 407 MB, free: 35.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-05/0.6449, allocations: 43.97 kB / 407.1 MB, free: 35.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007728/0.6526, allocations: 8.728 MB / 415.8 MB, free: 26.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.6527, allocations: 4 kB / 415.8 MB, free: 26.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004632/0.6573, allocations: 3.088 MB / 418.9 MB, free: 23.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009719/0.6584, allocations: 371 kB / 419.3 MB, free: 22.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.6586, allocations: 35.98 kB / 419.3 MB, free: 22.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008612/0.6595, allocations: 75.91 kB / 419.4 MB, free: 22.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.6598, allocations: 104.5 kB / 419.5 MB, free: 22.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.6599, allocations: 35.98 kB / 419.5 MB, free: 22.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001204/0.6611, allocations: 0.9792 MB / 420.5 MB, free: 21.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6611, allocations: 4 kB / 420.5 MB, free: 21.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001893/0.663, allocations: 446.8 kB / 420.9 MB, free: 21.09 MB / 318.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.00127/0.6643, allocations: 0.4924 MB / 421.4 MB, free: 20.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004647/0.6689, allocations: 2.671 MB / 424.1 MB, free: 17.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.669, allocations: 4.312 kB / 424.1 MB, free: 17.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002078/0.6711, allocations: 1.521 MB / 425.6 MB, free: 16.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.6736, allocations: 416.9 kB / 426 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/0.6822, allocations: 5.116 MB / 431.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.6836, allocations: 1.702 MB / 432.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001396/0.685, allocations: 321 kB / 433.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.6853, allocations: 115.4 kB / 433.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of SimCode: time 1.423e-06/0.6853, allocations: 0 / 433.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of Templates: time 0.05222/0.7376, allocations: 24.69 MB / 458 MB, free: 15.84 MB / 350.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/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