Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 109.2 kB / 17.73 MB, free: 5.289 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.001305/0.001305, allocations: 188.2 kB / 18.66 MB, free: 4.363 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.987/1.987, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001411/0.001411, allocations: 55.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.158, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.3748/0.5329, allocations: 9.34 MB / 384.5 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.5431, allocations: 3.023 MB / 387.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.5461, allocations: 41.88 kB / 387.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.5492, allocations: 0.6372 MB / 388.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005244/0.5545, allocations: 0.7745 MB / 389 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.5562, allocations: 356.5 kB / 389.3 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005839/0.562, allocations: 2.681 MB / 392 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.5651, allocations: 1.895 MB / 393.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/0.5681, allocations: 1.191 MB / 395.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.5727, allocations: 1.494 MB / 396.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.5738, allocations: 309.1 kB / 396.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.5758, allocations: 398.6 kB / 397.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.5772, allocations: 0.8876 MB / 398.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.5799, allocations: 1.403 MB / 399.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007615/0.5875, allocations: 4.09 MB / 403.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5876, allocations: 0 / 403.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5876, allocations: 1 kB / 403.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001502/0.5877, allocations: 0 / 403.7 MB, free: 14.64 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009714/0.5975, allocations: 2.844 MB / 406.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.5976, allocations: 12.5 kB / 406.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.5987, allocations: 288.7 kB / 406.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/0.6022, allocations: 1.45 MB / 408.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.6024, allocations: 154.7 kB / 408.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004105/0.6029, allocations: 202.2 kB / 408.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006317/0.6092, allocations: 2.737 MB / 411.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.966e-05/0.6093, allocations: 10.47 kB / 411.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.6095, allocations: 85.67 kB / 411.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.6097, allocations: 96.27 kB / 411.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/0.6149, allocations: 2.321 MB / 413.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02004/0.635, allocations: 8.314 MB / 422.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/0.6384, allocations: 1.776 MB / 423.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/0.6409, allocations: 1.073 MB / 425 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/0.6414, allocations: 118.8 kB / 425.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/0.6415, allocations: 43.56 kB / 425.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 4.278e-06/0.6415, allocations: 0 / 425.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01683/0.6583, allocations: 6.313 MB / 431.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.6585, allocations: 64.41 kB / 431.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.6616, allocations: 1.516 MB / 433 MB, free: 4.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.6619, allocations: 49.69 kB / 433.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.663, allocations: 0.9834 MB / 434.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005688/0.6636, allocations: 414 kB / 434.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005105/0.6641, allocations: 252.2 kB / 434.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.6643, allocations: 365.9 kB / 435.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.6657, allocations: 0.7339 MB / 435.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.6672, allocations: 1.052 MB / 436.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.6699, allocations: 1.875 MB / 438.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.67, allocations: 0 / 438.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004992/0.675, allocations: 2.349 MB / 441.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.675, allocations: 12.33 kB / 441.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.6751, allocations: 15.94 kB / 441.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.6762, allocations: 411.7 kB / 441.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.6775, allocations: 327.5 kB / 441.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/0.6839, allocations: 5.071 MB / 446.9 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.6862, allocations: 83.91 kB / 447 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/0.6866, allocations: 59.92 kB / 447.1 MB, free: 6.309 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002533/0.6891, allocations: 0.7042 MB / 447.8 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/0.6899, allocations: 166.1 kB / 447.9 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.6945, allocations: 2.141 MB / 450.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.6945, allocations: 12 kB / 450.1 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/0.6945, allocations: 4 kB / 450.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.6946, allocations: 3.984 kB / 450.1 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009958/0.7045, allocations: 4.565 MB / 454.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.7046, allocations: 0 / 454.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.7056, allocations: 227.9 kB / 454.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.7071, allocations: 466.9 kB / 455.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.7073, allocations: 35.91 kB / 455.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/0.7142, allocations: 6.686 MB / 462 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7142, allocations: 3.938 kB / 462.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/0.7199, allocations: 3.18 MB / 465.2 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.7213, allocations: 403 kB / 465.6 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/0.722, allocations: 24 kB / 465.6 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.7234, allocations: 79.91 kB / 465.7 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/0.7238, allocations: 104.7 kB / 465.8 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.7239, allocations: 35.98 kB / 465.9 MB, free: 2.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002476/0.7264, allocations: 1.048 MB / 466.9 MB, free: 1.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7264, allocations: 0 / 466.9 MB, free: 1.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00246/0.7289, allocations: 460 kB / 467.4 MB, free: 1.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0004456/0.7293, allocations: 195.8 kB / 467.6 MB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003987/0.7333, allocations: 2.271 MB / 469.8 MB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.7333, allocations: 3.938 kB / 469.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/0.7361, allocations: 1.492 MB / 471.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.7389, allocations: 445.6 kB / 471.8 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.7495, allocations: 4.456 MB / 476.2 MB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.7514, allocations: 1.822 MB / 478 MB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001412/0.7528, allocations: 393.5 kB / 478.4 MB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.7532, allocations: 111.4 kB / 478.5 MB, free: 5.953 MB / 398.1 MB Notification: Performance of SimCode: time 1.173e-06/0.7532, allocations: 4 kB / 478.5 MB, free: 5.949 MB / 398.1 MB Notification: Performance of Templates: time 0.05158/0.8048, allocations: 25.98 MB / 0.4927 GB, free: 11.92 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches