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.001436/0.001436, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001264/0.001264, allocations: 192 kB / 19.29 MB, free: 3.715 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.722/1.722, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001236/0.001236, allocations: 47.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1266, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0112/0.1378, allocations: 9.412 MB / 338.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007202/0.1451, allocations: 3.39 MB / 341.5 MB, free: 6.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.1464, allocations: 43.81 kB / 341.6 MB, free: 6.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.1482, allocations: 0.7301 MB / 342.3 MB, free: 6.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.1504, allocations: 0.7999 MB / 343.1 MB, free: 5.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1516, allocations: 463.1 kB / 343.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.1544, allocations: 2.413 MB / 346 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.1564, allocations: 1.743 MB / 347.7 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.1579, allocations: 1.086 MB / 348.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.1597, allocations: 1.39 MB / 350.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003614/0.1601, allocations: 280 kB / 350.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007858/0.1609, allocations: 407.8 kB / 350.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008429/0.1617, allocations: 0.7986 MB / 351.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.1632, allocations: 1.287 MB / 353 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003625/0.1668, allocations: 3.727 MB / 356.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1668, allocations: 4 kB / 356.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1669, allocations: 0 / 356.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.334e-05/0.1669, allocations: 0 / 356.7 MB, free: 7.645 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.005239/0.1721, allocations: 2.663 MB / 359.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1722, allocations: 8.031 kB / 359.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000666/0.1729, allocations: 266 kB / 359.6 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.1752, allocations: 1.318 MB / 360.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.1753, allocations: 143.7 kB / 361.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/0.1756, allocations: 187.9 kB / 361.3 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/0.1795, allocations: 2.444 MB / 363.7 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.363e-05/0.1795, allocations: 3.906 kB / 363.7 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.1797, allocations: 75.98 kB / 363.8 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.1798, allocations: 99.67 kB / 363.9 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.183, allocations: 1.982 MB / 365.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.1944, allocations: 7.308 MB / 373.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.1964, allocations: 1.358 MB / 374.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.1979, allocations: 0.8776 MB / 375.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.1981, allocations: 130.1 kB / 375.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.1992, allocations: 0.6758 MB / 376.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.905e-06/0.1992, allocations: 3.938 kB / 376.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.2297/0.4289, allocations: 7.342 MB / 383.6 MB, free: 50.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.4291, allocations: 195.2 kB / 383.7 MB, free: 50.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.4318, allocations: 1.424 MB / 385.2 MB, free: 49.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.4319, allocations: 47.42 kB / 385.2 MB, free: 49.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009651/0.4329, allocations: 0.9358 MB / 386.1 MB, free: 49.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.4333, allocations: 415.8 kB / 386.6 MB, free: 48.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/0.4338, allocations: 246.5 kB / 386.8 MB, free: 48.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4339, allocations: 366.9 kB / 387.2 MB, free: 48.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.435, allocations: 0.6315 MB / 387.8 MB, free: 48.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4366, allocations: 0.9998 MB / 388.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.4393, allocations: 1.715 MB / 390.5 MB, free: 46.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.4393, allocations: 3.5 kB / 390.5 MB, free: 46.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004894/0.4442, allocations: 2.334 MB / 392.8 MB, free: 45.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.4442, allocations: 12.7 kB / 392.9 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.4443, allocations: 7.844 kB / 392.9 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.4458, allocations: 0.4894 MB / 393.3 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.4469, allocations: 301.8 kB / 393.6 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007266/0.4542, allocations: 7.179 MB / 400.8 MB, free: 39.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.4561, allocations: 90.64 kB / 400.9 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.4562, allocations: 55.06 kB / 401 MB, free: 39.73 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.001273/0.4575, allocations: 0.6293 MB / 401.6 MB, free: 39.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.4578, allocations: 159.2 kB / 401.7 MB, free: 39.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.4613, allocations: 2.133 MB / 403.9 MB, free: 38.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4614, allocations: 19.19 kB / 403.9 MB, free: 38.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4614, allocations: 11.62 kB / 403.9 MB, free: 38.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4614, allocations: 7.828 kB / 403.9 MB, free: 38.35 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/0.468, allocations: 4.534 MB / 408.5 MB, free: 35.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.468, allocations: 7.938 kB / 408.5 MB, free: 35.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/0.4688, allocations: 191.5 kB / 408.6 MB, free: 34.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.47, allocations: 0.5371 MB / 409.2 MB, free: 34.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.845e-05/0.4701, allocations: 31.98 kB / 409.2 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006858/0.4769, allocations: 8.715 MB / 417.9 MB, free: 25.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.477, allocations: 8.969 kB / 417.9 MB, free: 25.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004268/0.4813, allocations: 3.082 MB / 421 MB, free: 21.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/0.4823, allocations: 375 kB / 421.4 MB, free: 21.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.4825, allocations: 36 kB / 421.4 MB, free: 21.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/0.4833, allocations: 67.92 kB / 421.5 MB, free: 21.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000289/0.4836, allocations: 100.7 kB / 421.6 MB, free: 21.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.4837, allocations: 43.98 kB / 421.6 MB, free: 21.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.4851, allocations: 0.9753 MB / 422.6 MB, free: 20.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4851, allocations: 0 / 422.6 MB, free: 20.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002009/0.4871, allocations: 451 kB / 423 MB, free: 19.83 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.001304/0.4884, allocations: 0.5005 MB / 423.5 MB, free: 19.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003287/0.4917, allocations: 2.252 MB / 425.8 MB, free: 17.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4917, allocations: 3.938 kB / 425.8 MB, free: 17.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.4937, allocations: 1.527 MB / 427.3 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.4956, allocations: 412.5 kB / 427.7 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/0.5024, allocations: 4.226 MB / 432 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.5036, allocations: 1.706 MB / 433.7 MB, free: 9.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009099/0.5045, allocations: 321 kB / 434 MB, free: 8.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.5048, allocations: 111.4 kB / 434.1 MB, free: 8.59 MB / 318.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5048, allocations: 0 / 434.1 MB, free: 8.59 MB / 318.1 MB Notification: Performance of Templates: time 0.04648/0.5513, allocations: 24.66 MB / 458.8 MB, free: 15.91 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 -s cvode -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