Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.02107/0.02107, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.828/3.828, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001847/0.001847, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000712/0.0007122, allocations: 11.98 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1534, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.02389/0.1774, allocations: 9.499 MB / 384.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.1918, allocations: 3.74 MB / 387.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.1951, allocations: 51.75 kB / 387.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.2, allocations: 0.7191 MB / 388.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006578/0.2066, allocations: 0.8919 MB / 389.5 MB, free: 484 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.2094, allocations: 311.5 kB / 389.8 MB, free: 172 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.4384/0.6478, allocations: 2.642 MB / 392.4 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008534/0.6564, allocations: 2.201 MB / 394.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005667/0.6622, allocations: 1.297 MB / 395.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00709/0.6693, allocations: 1.635 MB / 397.5 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00243/0.6719, allocations: 212 kB / 397.7 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/0.6762, allocations: 275.8 kB / 398 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004469/0.6808, allocations: 0.9836 MB / 399 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004268/0.6851, allocations: 0.7509 MB / 399.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.6994, allocations: 5.227 MB / 405 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.6995, allocations: 0 / 405 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.518e-06/0.6995, allocations: 9.25 kB / 405 MB, free: 7.473 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003142/0.6999, allocations: 0.8438 kB / 405 MB, free: 7.473 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.02373/0.7236, allocations: 3.659 MB / 408.6 MB, free: 5.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.209e-05/0.7237, allocations: 9.812 kB / 408.6 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.7282, allocations: 443.7 kB / 409.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.7405, allocations: 2.165 MB / 411.2 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006316/0.7412, allocations: 231.8 kB / 411.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002447/0.7437, allocations: 304.2 kB / 411.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.768, allocations: 4.326 MB / 416.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002904/0.7684, allocations: 7.125 kB / 416.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/0.7703, allocations: 126.6 kB / 416.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002722/0.7706, allocations: 130.1 kB / 416.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/0.7916, allocations: 3.781 MB / 420.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07034/0.862, allocations: 13.56 MB / 433.7 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.8732, allocations: 2.899 MB / 436.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007555/0.8741, allocations: 130.4 kB / 436.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.94e-05/0.8742, allocations: 51.88 kB / 436.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=164): time 9.127e-06/0.8742, allocations: 0 / 436.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=180): time 0.06217/0.9364, allocations: 9.345 MB / 446.1 MB, free: 4.047 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.9366, allocations: 69.41 kB / 446.2 MB, free: 3.965 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/0.9481, allocations: 2.287 MB / 448.5 MB, free: 1.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007966/0.949, allocations: 59.56 kB / 448.5 MB, free: 1.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002747/0.9518, allocations: 1.366 MB / 449.9 MB, free: 220 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001834/0.9537, allocations: 0.6025 MB / 450.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/0.9543, allocations: 40 kB / 450.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000467/0.9547, allocations: 386.8 kB / 450.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006437/0.9612, allocations: 1.144 MB / 452.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007077/0.9684, allocations: 1.578 MB / 453.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006287/0.9747, allocations: 1.357 MB / 455 MB, free: 10.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.582e-05/0.9749, allocations: 4 kB / 455 MB, free: 10.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01909/0.994, allocations: 3.462 MB / 458.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.9941, allocations: 12 kB / 458.5 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.201e-05/0.9942, allocations: 12 kB / 458.5 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/1, allocations: 0.803 MB / 459.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005893/1.006, allocations: 451.3 kB / 459.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02844/1.035, allocations: 10.52 MB / 470.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005467/1.04, allocations: 127.9 kB / 470.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009838/1.041, allocations: 72 kB / 470.4 MB, free: 10.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0064/1.048, allocations: 1.095 MB / 471.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.049, allocations: 249 kB / 471.8 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01898/1.069, allocations: 3.344 MB / 475.1 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.765e-05/1.069, allocations: 16 kB / 475.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-05/1.069, allocations: 8 kB / 475.2 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.847e-05/1.069, allocations: 7.969 kB / 475.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03691/1.106, allocations: 6.877 MB / 482 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.664e-05/1.106, allocations: 0 / 482 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004334/1.11, allocations: 299.6 kB / 482.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007009/1.117, allocations: 0.9236 MB / 483.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007039/1.118, allocations: 43.98 kB / 483.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03365/1.152, allocations: 13.72 MB / 497 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.152, allocations: 0 / 497 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02484/1.177, allocations: 5.064 MB / 0.4903 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004466/1.181, allocations: 0.5604 MB / 0.4909 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/1.184, allocations: 43.98 kB / 0.4909 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005452/1.189, allocations: 131.9 kB / 0.491 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/1.19, allocations: 153.7 kB / 0.4912 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003976/1.191, allocations: 47.98 kB / 0.4912 GB, free: 9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008269/1.199, allocations: 1.57 MB / 0.4928 GB, free: 7.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.199, allocations: 0 / 0.4928 GB, free: 7.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007739/1.207, allocations: 0.6992 MB / 0.4934 GB, free: 6.711 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001313/1.208, allocations: 175 kB / 0.4936 GB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01681/1.225, allocations: 3.627 MB / 0.4971 GB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/1.225, allocations: 0 / 0.4971 GB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01124/1.237, allocations: 2.532 MB / 0.4996 GB, free: 168 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009716/1.246, allocations: 0.651 MB / 0.5003 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/1.281, allocations: 7.974 MB / 0.508 GB, free: 7.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0081/1.29, allocations: 2.541 MB / 0.5105 GB, free: 4.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002002/1.292, allocations: 167.4 kB / 0.5107 GB, free: 4.758 MB / 394.7 MB Notification: Performance of SimCode: time 1.904e-06/1.292, allocations: 1.859 kB / 0.5107 GB, free: 4.758 MB / 394.7 MB Notification: Performance of Templates: time 0.8796/2.171, allocations: 157.6 MB / 0.6646 GB, free: 4.352 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches