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.0008757/0.0008757, allocations: 92.88 kB / 16.95 MB, free: 6.113 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.0009965/0.0009964, allocations: 176.2 kB / 17.84 MB, free: 5.73 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.023/2.023, allocations: 205.4 MB / 224 MB, free: 13.06 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.0006121/0.0006124, allocations: 8 kB / 280.8 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1622, allocations: 47.59 MB / 328.4 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.0131/0.1754, allocations: 8.329 MB / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009582/0.1851, allocations: 3.178 MB / 339.9 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/0.1878, allocations: 39.81 kB / 339.9 MB, free: 8.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003331/0.1912, allocations: 0.6062 MB / 340.5 MB, free: 7.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.1953, allocations: 0.6877 MB / 341.2 MB, free: 7.164 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.1974, allocations: 311.5 kB / 341.5 MB, free: 6.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006486/0.2039, allocations: 2.479 MB / 344 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003331/0.2073, allocations: 1.224 MB / 345.2 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.21, allocations: 0.8443 MB / 346.1 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.2138, allocations: 1.148 MB / 347.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.215, allocations: 131.9 kB / 347.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.2176, allocations: 219.8 kB / 347.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001948/0.2196, allocations: 0.6191 MB / 348.2 MB, free: 148 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.2217, allocations: 460.6 kB / 348.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.2274, allocations: 2.98 MB / 351.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.2274, allocations: 4 kB / 351.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.2274, allocations: 0 / 351.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002494/0.2277, allocations: 0 / 351.6 MB, free: 12.7 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.008151/0.2359, allocations: 2.293 MB / 353.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.2359, allocations: 12.03 kB / 353.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.2378, allocations: 265 kB / 354.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005299/0.2431, allocations: 1.253 MB / 355.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.2435, allocations: 143.7 kB / 355.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.2449, allocations: 187.9 kB / 355.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009747/0.2547, allocations: 2.424 MB / 358.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.2549, allocations: 7.953 kB / 358.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006967/0.2556, allocations: 79.98 kB / 358.3 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/0.2558, allocations: 99.61 kB / 358.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005994/0.2618, allocations: 1.97 MB / 360.3 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.2833, allocations: 7.425 MB / 367.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.2863, allocations: 1.352 MB / 369.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.2882, allocations: 0.8896 MB / 370 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.2886, allocations: 118.1 kB / 370.1 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/0.2902, allocations: 0.6875 MB / 370.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 7.634e-06/0.2903, allocations: 0 / 370.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01813/0.3084, allocations: 7.404 MB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.3086, allocations: 208.9 kB / 378.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2746/0.5832, allocations: 1.395 MB / 379.8 MB, free: 50.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003418/0.5837, allocations: 48.3 kB / 379.8 MB, free: 50.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.5848, allocations: 0.933 MB / 380.8 MB, free: 50.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005316/0.5853, allocations: 423.3 kB / 381.2 MB, free: 50.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.5854, allocations: 29.06 kB / 381.2 MB, free: 50.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5856, allocations: 358.2 kB / 381.6 MB, free: 50.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.5871, allocations: 0.6324 MB / 382.2 MB, free: 50.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.5887, allocations: 1 MB / 383.2 MB, free: 49.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.59, allocations: 0.7901 MB / 384 MB, free: 49.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.5901, allocations: 4.406 kB / 384 MB, free: 49.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004692/0.5948, allocations: 2.319 MB / 386.3 MB, free: 48.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.5948, allocations: 12.3 kB / 386.3 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/0.5949, allocations: 10.03 kB / 386.3 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.5964, allocations: 498.5 kB / 386.8 MB, free: 48.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.5977, allocations: 298.3 kB / 387.1 MB, free: 48.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008813/0.6065, allocations: 6.58 MB / 393.7 MB, free: 42.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.6087, allocations: 105.5 kB / 393.8 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/0.6092, allocations: 55.41 kB / 393.8 MB, free: 42.91 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 ($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 (148): * Single equations (assignments): 143 * 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%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002209/0.6114, allocations: 0.6348 MB / 394.5 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007336/0.6121, allocations: 154.1 kB / 394.6 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005359/0.6175, allocations: 2.132 MB / 396.8 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/0.6176, allocations: 13.55 kB / 396.8 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-05/0.6176, allocations: 12.64 kB / 396.8 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.6177, allocations: 4.547 kB / 396.8 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.6291, allocations: 4.551 MB / 401.3 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.6292, allocations: 3.938 kB / 401.3 MB, free: 39.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.63, allocations: 203.6 kB / 401.5 MB, free: 39.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.6314, allocations: 0.5299 MB / 402.1 MB, free: 39.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.6316, allocations: 31.77 kB / 402.1 MB, free: 39.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006975/0.6386, allocations: 8.013 MB / 410.1 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.6386, allocations: 7.844 kB / 410.1 MB, free: 32.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/0.6436, allocations: 3.072 MB / 413.2 MB, free: 29.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.6448, allocations: 386.9 kB / 413.6 MB, free: 28.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000582/0.6454, allocations: 34.5 kB / 413.6 MB, free: 28.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.6465, allocations: 71.94 kB / 413.7 MB, free: 28.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.6468, allocations: 104.8 kB / 413.8 MB, free: 28.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.443e-05/0.6469, allocations: 39.98 kB / 413.8 MB, free: 28.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00175/0.6487, allocations: 0.9714 MB / 414.8 MB, free: 27.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6487, allocations: 0 / 414.8 MB, free: 27.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002471/0.6512, allocations: 446.6 kB / 415.2 MB, free: 27 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 (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%) 6,(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.001331/0.6525, allocations: 474.3 kB / 415.7 MB, free: 26.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003904/0.6565, allocations: 2.239 MB / 417.9 MB, free: 24.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.6565, allocations: 0 / 417.9 MB, free: 24.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.6586, allocations: 1.519 MB / 419.5 MB, free: 22.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/0.6616, allocations: 401.1 kB / 419.8 MB, free: 22.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009355/0.6709, allocations: 5.05 MB / 424.9 MB, free: 17.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.673, allocations: 1.702 MB / 426.6 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001412/0.6744, allocations: 329 kB / 426.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.6749, allocations: 103.4 kB / 427 MB, free: 14.98 MB / 318.1 MB Notification: Performance of SimCode: time 1.694e-06/0.675, allocations: 0 / 427 MB, free: 14.98 MB / 318.1 MB Notification: Performance of Templates: time 0.05015/0.7251, allocations: 22.78 MB / 449.8 MB, free: 8.172 MB / 334.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