Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 241.4 MB, free: 11.6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008037/0.000804, allocations: 100.2 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 8 kB / 352.4 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.3593, allocations: 104.4 MB / 0.4952 GB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.3596, allocations: 87.95 kB / 0.4953 GB, free: 7.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.317/0.6766, allocations: 44.65 MB / 0.5389 GB, free: 76.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6767, allocations: 0 / 0.5389 GB, free: 76.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002219/0.6769, allocations: 55.94 kB / 0.539 GB, free: 76.32 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006236/0.6832, allocations: 2.417 MB / 0.5413 GB, free: 73.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6832, allocations: 8.031 kB / 0.5413 GB, free: 73.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.6845, allocations: 293.7 kB / 0.5416 GB, free: 73.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.6881, allocations: 1.601 MB / 0.5432 GB, free: 71.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.6883, allocations: 156.4 kB / 0.5433 GB, free: 71.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000742/0.689, allocations: 200.4 kB / 0.5435 GB, free: 71.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004276/0.6933, allocations: 2.715 MB / 0.5462 GB, free: 68.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.278e-05/0.6934, allocations: 12.03 kB / 0.5462 GB, free: 68.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.6936, allocations: 83.94 kB / 0.5463 GB, free: 68.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-05/0.6937, allocations: 91.94 kB / 0.5464 GB, free: 68.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.697, allocations: 2.225 MB / 0.5485 GB, free: 66.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.7085, allocations: 8.45 MB / 0.5568 GB, free: 57.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.7104, allocations: 1.817 MB / 0.5586 GB, free: 55.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.7118, allocations: 1.004 MB / 0.5595 GB, free: 54.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002581/0.7121, allocations: 138 kB / 0.5597 GB, free: 54.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.7121, allocations: 47.5 kB / 0.5597 GB, free: 54.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 2.966e-06/0.7121, allocations: 4 kB / 0.5597 GB, free: 54.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.0111/0.7232, allocations: 6.276 MB / 0.5658 GB, free: 48.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.7233, allocations: 64.41 kB / 0.5659 GB, free: 47.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.7251, allocations: 1.477 MB / 0.5673 GB, free: 46.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/0.7252, allocations: 49.7 kB / 0.5674 GB, free: 46.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.7256, allocations: 0.9836 MB / 0.5684 GB, free: 45.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.7258, allocations: 425.8 kB / 0.5688 GB, free: 45.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.7259, allocations: 28 kB / 0.5688 GB, free: 44.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.726, allocations: 361.9 kB / 0.5691 GB, free: 44.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009349/0.7269, allocations: 0.7378 MB / 0.5699 GB, free: 43.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.728, allocations: 1.047 MB / 0.5709 GB, free: 42.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.7301, allocations: 1.877 MB / 0.5727 GB, free: 40.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.7301, allocations: 4 kB / 0.5727 GB, free: 40.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003252/0.7334, allocations: 2.353 MB / 0.575 GB, free: 38.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.7334, allocations: 8 kB / 0.575 GB, free: 38.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.7334, allocations: 15.92 kB / 0.575 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008349/0.7342, allocations: 411.3 kB / 0.5754 GB, free: 37.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.7354, allocations: 343.5 kB / 0.5758 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.739, allocations: 4.652 MB / 0.5803 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.7403, allocations: 87.91 kB / 0.5804 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.7404, allocations: 56.06 kB / 0.5804 GB, free: 32.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001288/0.7417, allocations: 0.7043 MB / 0.5811 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.742, allocations: 158 kB / 0.5813 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.745, allocations: 2.18 MB / 0.5834 GB, free: 29.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.7451, allocations: 12 kB / 0.5834 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7451, allocations: 0 / 0.5834 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.7451, allocations: 11.97 kB / 0.5834 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006536/0.7516, allocations: 4.594 MB / 0.5879 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.7517, allocations: 8.031 kB / 0.5879 GB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.7526, allocations: 231.7 kB / 0.5881 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.7536, allocations: 470.9 kB / 0.5886 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/0.7537, allocations: 31.98 kB / 0.5886 GB, free: 23.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00453/0.7583, allocations: 6.184 MB / 0.5947 GB, free: 17.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.7583, allocations: 7.938 kB / 0.5947 GB, free: 17.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/0.7624, allocations: 3.24 MB / 0.5978 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008016/0.7632, allocations: 410.9 kB / 0.5982 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.7634, allocations: 36 kB / 0.5983 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.7642, allocations: 79.84 kB / 0.5983 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.7645, allocations: 116.8 kB / 0.5984 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/0.7646, allocations: 35.98 kB / 0.5985 GB, free: 13.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001375/0.766, allocations: 1.02 MB / 0.5995 GB, free: 12.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.766, allocations: 0 / 0.5995 GB, free: 12.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001457/0.7674, allocations: 491.9 kB / 0.5999 GB, free: 11.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004709/0.7679, allocations: 308.6 kB / 0.6002 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.7708, allocations: 2.288 MB / 0.6025 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7708, allocations: 0 / 0.6025 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.7726, allocations: 1.524 MB / 0.604 GB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.7751, allocations: 433.2 kB / 0.6044 GB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.7813, allocations: 5.326 MB / 0.6096 GB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.7825, allocations: 1.819 MB / 0.6114 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001317/0.7838, allocations: 401.5 kB / 0.6117 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.7842, allocations: 111.4 kB / 0.6118 GB, free: 15.48 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7842, allocations: 0 / 0.6118 GB, free: 15.48 MB / 394.7 MB Notification: Performance of Templates: time 0.04472/0.8289, allocations: 26.01 MB / 0.6372 GB, free: 5.703 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches