Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009172/0.0009172, allocations: 105.9 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 4 kB / 357.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2026, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3011/0.5037, allocations: 111.5 MB / 0.5087 GB, free: 45.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.504, allocations: 90.27 kB / 0.5088 GB, free: 45.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1468/0.6508, allocations: 65.66 MB / 0.5729 GB, free: 27.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.6509, allocations: 0 / 0.5729 GB, free: 27.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003072/0.6512, allocations: 87.94 kB / 0.573 GB, free: 27.47 MB / 378.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.00831/0.6595, allocations: 3.678 MB / 0.5766 GB, free: 23.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.6595, allocations: 12.02 kB / 0.5766 GB, free: 23.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.661, allocations: 487.1 kB / 0.5771 GB, free: 23.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.6654, allocations: 2.388 MB / 0.5794 GB, free: 21.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.6656, allocations: 234.1 kB / 0.5796 GB, free: 21.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004523/0.666, allocations: 304 kB / 0.5799 GB, free: 21.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006016/0.6721, allocations: 4.314 MB / 0.5841 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.981e-05/0.6721, allocations: 15.84 kB / 0.5842 GB, free: 16.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.6725, allocations: 132 kB / 0.5843 GB, free: 16.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.244e-05/0.6725, allocations: 126 kB / 0.5844 GB, free: 16.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00512/0.6777, allocations: 3.611 MB / 0.5879 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.6954, allocations: 13.6 MB / 0.6012 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.6986, allocations: 2.949 MB / 0.6041 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.6989, allocations: 139 kB / 0.6042 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.6989, allocations: 48.56 kB / 0.6043 GB, free: 11.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 2.665e-06/0.699, allocations: 0 / 0.6043 GB, free: 11.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.01828/0.7172, allocations: 9.433 MB / 0.6135 GB, free: 1.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.7173, allocations: 73.41 kB / 0.6135 GB, free: 1.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/0.7205, allocations: 2.065 MB / 0.6156 GB, free: 15.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.7207, allocations: 57.7 kB / 0.6156 GB, free: 15.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.7218, allocations: 1.451 MB / 0.617 GB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004905/0.7223, allocations: 0.6122 MB / 0.6176 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.7224, allocations: 36 kB / 0.6177 GB, free: 13.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7226, allocations: 385.9 kB / 0.618 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.7243, allocations: 1.152 MB / 0.6192 GB, free: 11.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.7263, allocations: 1.557 MB / 0.6207 GB, free: 10.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.7282, allocations: 1.361 MB / 0.622 GB, free: 8.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.7282, allocations: 8 kB / 0.622 GB, free: 8.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005694/0.7339, allocations: 3.62 MB / 0.6256 GB, free: 5.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.734, allocations: 8 kB / 0.6256 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.734, allocations: 15.95 kB / 0.6256 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.7358, allocations: 0.8062 MB / 0.6264 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.7376, allocations: 459.3 kB / 0.6268 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009523/0.7471, allocations: 10.51 MB / 0.6371 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.749, allocations: 123.8 kB / 0.6372 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.7492, allocations: 80.05 kB / 0.6373 GB, free: 8.516 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 (217): * Single equations (assignments): 210 * 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.00197/0.7511, allocations: 1.079 MB / 0.6383 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/0.7515, allocations: 249 kB / 0.6386 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005377/0.7569, allocations: 3.399 MB / 0.6419 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.757, allocations: 20 kB / 0.6419 GB, free: 3.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.757, allocations: 11.97 kB / 0.6419 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.757, allocations: 7.969 kB / 0.6419 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.7678, allocations: 6.927 MB / 0.6487 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.7678, allocations: 4 kB / 0.6487 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.7692, allocations: 319.8 kB / 0.649 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/0.7715, allocations: 0.9196 MB / 0.6499 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.7716, allocations: 43.97 kB / 0.6499 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.7846, allocations: 13.76 MB / 0.6634 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7846, allocations: 0 / 0.6634 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00821/0.7929, allocations: 5.156 MB / 0.6684 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.7946, allocations: 0.5762 MB / 0.669 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/0.7953, allocations: 39.98 kB / 0.669 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.7969, allocations: 135.8 kB / 0.6691 GB, free: 6.613 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.7973, allocations: 157.6 kB / 0.6693 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.7975, allocations: 55.98 kB / 0.6693 GB, free: 6.402 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002925/0.8004, allocations: 1.594 MB / 0.6709 GB, free: 4.793 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8004, allocations: 4 kB / 0.6709 GB, free: 4.789 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002753/0.8032, allocations: 0.746 MB / 0.6716 GB, free: 4.043 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 (148): * Single equations (assignments): 140 * 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.0006608/0.8038, allocations: 369 kB / 0.672 GB, free: 3.676 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1722/0.976, allocations: 3.655 MB / 0.6755 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.9761, allocations: 2.031 kB / 0.6755 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003838/0.9799, allocations: 2.559 MB / 0.678 GB, free: 114.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.9828, allocations: 0.6723 MB / 0.6787 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009382/0.9922, allocations: 7.974 MB / 0.6865 GB, free: 111.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.9945, allocations: 2.588 MB / 0.689 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002046/0.9966, allocations: 0.5841 MB / 0.6896 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.997, allocations: 158.3 kB / 0.6897 GB, free: 110.6 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.997, allocations: 0 / 0.6897 GB, free: 110.6 MB / 458.7 MB Notification: Performance of Templates: time 0.05301/1.05, allocations: 41.99 MB / 0.7307 GB, free: 106.9 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches