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.001395/0.001395, allocations: 179.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008685/0.0008683, allocations: 85.33 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004209, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2529, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01002/0.2629, allocations: 10.41 MB / 385 MB, free: 37.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.2701, allocations: 3.603 MB / 388.6 MB, free: 34.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.2723, allocations: 56 kB / 388.6 MB, free: 34.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.2746, allocations: 0.6828 MB / 389.3 MB, free: 33.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.2784, allocations: 0.9439 MB / 390.3 MB, free: 32.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.2797, allocations: 308.8 kB / 390.6 MB, free: 32.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004759/0.2845, allocations: 4.386 MB / 394.9 MB, free: 28.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.2869, allocations: 2.197 MB / 397.1 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.2893, allocations: 1.42 MB / 398.6 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.2916, allocations: 1.911 MB / 400.5 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.2921, allocations: 220 kB / 400.7 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.2931, allocations: 287.9 kB / 401 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007795/0.2939, allocations: 1.055 MB / 402 MB, free: 21.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008403/0.2948, allocations: 0.7498 MB / 402.8 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.2985, allocations: 5.275 MB / 408 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2986, allocations: 0 / 408 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2986, allocations: 0 / 408 MB, free: 15.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001514/0.2987, allocations: 0 / 408 MB, free: 15.23 MB / 298.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.006864/0.3056, allocations: 3.675 MB / 411.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3057, allocations: 8.031 kB / 411.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.307, allocations: 447 kB / 412.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/0.3108, allocations: 2.153 MB / 414.3 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.311, allocations: 230.2 kB / 414.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004817/0.3115, allocations: 304 kB / 414.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006446/0.3179, allocations: 4.357 MB / 419.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.415e-05/0.318, allocations: 15.84 kB / 419.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.3183, allocations: 124 kB / 419.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/0.3184, allocations: 134 kB / 419.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.3236, allocations: 3.775 MB / 423.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/0.3447, allocations: 13.62 MB / 436.9 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.3482, allocations: 2.89 MB / 439.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.3509, allocations: 1.7 MB / 441.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.3512, allocations: 130.4 kB / 441.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.3513, allocations: 59.81 kB / 441.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=164): time 4.769e-06/0.3513, allocations: 0 / 441.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01986/0.3711, allocations: 9.282 MB / 450.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.3713, allocations: 73.41 kB / 451 MB, free: 3.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/0.3749, allocations: 2.334 MB / 453.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.3752, allocations: 57.7 kB / 453.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.3762, allocations: 1.474 MB / 454.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.3767, allocations: 0.5968 MB / 455.4 MB, free: 14.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3769, allocations: 40 kB / 455.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.377, allocations: 389.8 kB / 455.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.3787, allocations: 1.128 MB / 457 MB, free: 13.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.3806, allocations: 1.571 MB / 458.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.3826, allocations: 1.337 MB / 459.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3826, allocations: 4 kB / 459.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00597/0.3886, allocations: 3.589 MB / 463.5 MB, free: 6.484 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.3886, allocations: 12.03 kB / 463.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.3886, allocations: 12 kB / 463.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.3906, allocations: 0.8019 MB / 464.3 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.3924, allocations: 463.3 kB / 464.8 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009828/0.4022, allocations: 10.29 MB / 475.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.4045, allocations: 127.9 kB / 475.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.4049, allocations: 75.98 kB / 475.3 MB, free: 10.02 MB / 362.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.002269/0.4071, allocations: 1.099 MB / 476.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/0.4078, allocations: 249 kB / 476.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005739/0.4136, allocations: 3.301 MB / 479.9 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.4136, allocations: 16 kB / 479.9 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/0.4137, allocations: 8 kB / 479.9 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.4137, allocations: 7.969 kB / 479.9 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.4259, allocations: 6.908 MB / 486.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.4259, allocations: 4 kB / 486.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.4272, allocations: 299.4 kB / 487.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/0.4296, allocations: 0.9312 MB / 488.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.4297, allocations: 39.98 kB / 488.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.4429, allocations: 13.43 MB / 0.4898 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4429, allocations: 3.953 kB / 0.4898 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008407/0.4513, allocations: 4.872 MB / 0.4946 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/0.4528, allocations: 0.5721 MB / 0.4951 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000631/0.4534, allocations: 39.98 kB / 0.4952 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.4551, allocations: 131.9 kB / 0.4953 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/0.4555, allocations: 153.7 kB / 0.4954 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.4556, allocations: 51.98 kB / 0.4955 GB, free: 8.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003027/0.4587, allocations: 1.609 MB / 0.497 GB, free: 7.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4587, allocations: 0 / 0.497 GB, free: 7.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002688/0.4614, allocations: 0.7031 MB / 0.4977 GB, free: 6.375 MB / 394.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.0004288/0.4618, allocations: 176.5 kB / 0.4979 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005455/0.4673, allocations: 3.59 MB / 0.5014 GB, free: 2.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.4673, allocations: 4 kB / 0.5014 GB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1559/0.6232, allocations: 2.509 MB / 0.5039 GB, free: 121.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/0.6271, allocations: 0.6826 MB / 0.5045 GB, free: 121.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.6376, allocations: 7.971 MB / 0.5123 GB, free: 118.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.6396, allocations: 2.472 MB / 0.5147 GB, free: 117.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007417/0.6404, allocations: 168.5 kB / 0.5149 GB, free: 117.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6404, allocations: 0 / 0.5149 GB, free: 117.6 MB / 394.7 MB Notification: Performance of Templates: time 0.2919/0.9323, allocations: 167.1 MB / 0.6781 GB, free: 139.6 MB / 426.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/jenkins/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