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.001087/0.001087, allocations: 104.4 kB / 18.35 MB, free: 4.516 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.000986/0.000986, allocations: 187 kB / 19.29 MB, free: 3.586 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.658/1.658, 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.001214/0.001214, allocations: 47.94 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.125, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01264/0.1377, allocations: 9.416 MB / 338.2 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008782/0.1466, allocations: 3.394 MB / 341.5 MB, free: 6.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.149, allocations: 43.81 kB / 341.6 MB, free: 6.828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.1514, allocations: 0.7262 MB / 342.3 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004531/0.156, allocations: 0.8077 MB / 343.1 MB, free: 5.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.1578, allocations: 459.2 kB / 343.6 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003954/0.1618, allocations: 2.421 MB / 346 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.1638, allocations: 1.735 MB / 347.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.1654, allocations: 1.086 MB / 348.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.1671, allocations: 1.393 MB / 350.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003602/0.1675, allocations: 280 kB / 350.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/0.1683, allocations: 403.8 kB / 350.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007646/0.1691, allocations: 0.7909 MB / 351.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.1704, allocations: 1.291 MB / 353 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.1738, allocations: 3.727 MB / 356.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1738, allocations: 0 / 356.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1738, allocations: 0 / 356.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.316e-05/0.1739, allocations: 0 / 356.7 MB, free: 7.641 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.005404/0.1793, allocations: 2.667 MB / 359.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1793, allocations: 8.031 kB / 359.4 MB, free: 4.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006981/0.18, allocations: 266 kB / 359.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.1824, allocations: 1.318 MB / 360.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.1825, allocations: 139.7 kB / 361.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.1828, allocations: 191.9 kB / 361.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00377/0.1866, allocations: 2.444 MB / 363.7 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/0.1867, allocations: 3.906 kB / 363.7 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.1868, allocations: 72 kB / 363.8 MB, free: 404 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.511e-05/0.1869, allocations: 95.67 kB / 363.9 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/0.1901, allocations: 1.986 MB / 365.9 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.2012, allocations: 7.308 MB / 373.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.2031, allocations: 1.362 MB / 374.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.2046, allocations: 0.8776 MB / 375.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.2049, allocations: 126.1 kB / 375.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.2059, allocations: 0.6875 MB / 376.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.066e-06/0.206, allocations: 0 / 376.2 MB, free: 3.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.3129/0.5188, allocations: 7.339 MB / 383.6 MB, free: 50.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.519, allocations: 196.8 kB / 383.8 MB, free: 50.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.5218, allocations: 1.424 MB / 385.2 MB, free: 49.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.891e-05/0.5219, allocations: 47.42 kB / 385.2 MB, free: 49.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.523, allocations: 0.9318 MB / 386.2 MB, free: 49.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.5234, allocations: 416.9 kB / 386.6 MB, free: 48.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004814/0.5239, allocations: 245.4 kB / 386.8 MB, free: 48.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5241, allocations: 367.9 kB / 387.2 MB, free: 48.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.5253, allocations: 0.6322 MB / 387.8 MB, free: 48.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.5268, allocations: 1.008 MB / 388.8 MB, free: 47.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/0.5296, allocations: 1.705 MB / 390.5 MB, free: 46.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.5296, allocations: 2.562 kB / 390.5 MB, free: 46.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005133/0.5348, allocations: 2.341 MB / 392.8 MB, free: 45.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.5348, allocations: 7.938 kB / 392.9 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.5348, allocations: 7.844 kB / 392.9 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.5361, allocations: 497.4 kB / 393.3 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.5373, allocations: 301.7 kB / 393.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006523/0.5438, allocations: 7.181 MB / 400.8 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.5455, allocations: 93.73 kB / 400.9 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.5456, allocations: 47.47 kB / 401 MB, free: 39.71 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.001316/0.5469, allocations: 0.6372 MB / 401.6 MB, free: 39.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.5472, allocations: 157 kB / 401.8 MB, free: 39.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.5506, allocations: 2.13 MB / 403.9 MB, free: 38.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5507, allocations: 15.34 kB / 403.9 MB, free: 38.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5507, allocations: 3.875 kB / 403.9 MB, free: 38.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5507, allocations: 11.34 kB / 403.9 MB, free: 38.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006885/0.5576, allocations: 4.534 MB / 408.4 MB, free: 35.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.5577, allocations: 4 kB / 408.5 MB, free: 35.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007186/0.5584, allocations: 199.4 kB / 408.6 MB, free: 34.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.5596, allocations: 0.5354 MB / 409.2 MB, free: 34.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.5597, allocations: 31.98 kB / 409.2 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006342/0.566, allocations: 8.729 MB / 417.9 MB, free: 25.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5661, allocations: 4 kB / 417.9 MB, free: 25.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/0.5704, allocations: 3.086 MB / 421 MB, free: 21.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.5714, allocations: 375 kB / 421.4 MB, free: 21.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.5717, allocations: 39.98 kB / 421.4 MB, free: 21.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.5724, allocations: 63.94 kB / 421.5 MB, free: 21.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.5727, allocations: 104.7 kB / 421.6 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.5728, allocations: 35.98 kB / 421.6 MB, free: 21.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.5741, allocations: 0.9792 MB / 422.6 MB, free: 20.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5741, allocations: 0 / 422.6 MB, free: 20.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001895/0.576, allocations: 450.6 kB / 423.1 MB, free: 19.81 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.001286/0.5773, allocations: 0.4986 MB / 423.6 MB, free: 19.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003314/0.5806, allocations: 2.253 MB / 425.8 MB, free: 17.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5806, allocations: 0 / 425.8 MB, free: 17.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.5826, allocations: 1.521 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.001846/0.5845, allocations: 424.4 kB / 427.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/0.592, allocations: 4.218 MB / 432 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.5932, allocations: 1.706 MB / 433.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001015/0.5942, allocations: 325 kB / 434 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.5945, allocations: 107.4 kB / 434.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5945, allocations: 0 / 434.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of Templates: time 0.04994/0.6445, allocations: 24.67 MB / 458.8 MB, free: 15.9 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 gbode -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