Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001993/0.001993, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008426/0.0008424, allocations: 95.84 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.000255, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.224, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.3449, allocations: 105.1 MB / 0.5024 GB, free: 2.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.3453, allocations: 92.77 kB / 0.5025 GB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2943/0.6396, allocations: 44.77 MB / 0.5462 GB, free: 67.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.6397, allocations: 0 / 0.5462 GB, free: 67.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002263/0.6399, allocations: 55.94 kB / 0.5463 GB, free: 67.43 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.006186/0.6461, allocations: 2.433 MB / 0.5486 GB, free: 64.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6462, allocations: 8.031 kB / 0.5487 GB, free: 64.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.6477, allocations: 333.8 kB / 0.549 GB, free: 64.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003962/0.6517, allocations: 1.609 MB / 0.5505 GB, free: 62.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.6519, allocations: 148.4 kB / 0.5507 GB, free: 62.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006297/0.6525, allocations: 204.3 kB / 0.5509 GB, free: 62.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005551/0.6581, allocations: 2.725 MB / 0.5535 GB, free: 59.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.441e-05/0.6582, allocations: 4.188 kB / 0.5535 GB, free: 59.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003564/0.6585, allocations: 95.92 kB / 0.5536 GB, free: 59.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.82e-05/0.6586, allocations: 83.94 kB / 0.5537 GB, free: 59.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004535/0.6632, allocations: 2.229 MB / 0.5559 GB, free: 57.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.6779, allocations: 8.441 MB / 0.5641 GB, free: 48.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.6802, allocations: 1.821 MB / 0.5659 GB, free: 46.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.6816, allocations: 1.008 MB / 0.5669 GB, free: 45.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.682, allocations: 130 kB / 0.567 GB, free: 45.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.682, allocations: 51.5 kB / 0.5671 GB, free: 45.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 2.866e-06/0.682, allocations: 4 kB / 0.5671 GB, free: 45.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01607/0.6981, allocations: 6.273 MB / 0.5732 GB, free: 39.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.6982, allocations: 64.41 kB / 0.5733 GB, free: 39.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.7019, allocations: 1.489 MB / 0.5747 GB, free: 37.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.7021, allocations: 45.7 kB / 0.5748 GB, free: 37.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008261/0.7029, allocations: 0.9759 MB / 0.5757 GB, free: 36.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.7034, allocations: 421.8 kB / 0.5761 GB, free: 36.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.7035, allocations: 28 kB / 0.5761 GB, free: 36.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7037, allocations: 365.9 kB / 0.5765 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.7051, allocations: 0.7378 MB / 0.5772 GB, free: 34.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.7063, allocations: 1.047 MB / 0.5782 GB, free: 33.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/0.7087, allocations: 1.877 MB / 0.5801 GB, free: 31.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.7087, allocations: 4 kB / 0.5801 GB, free: 31.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003643/0.7124, allocations: 2.345 MB / 0.5824 GB, free: 29.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.7124, allocations: 12 kB / 0.5824 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7125, allocations: 8 kB / 0.5824 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008731/0.7133, allocations: 407.8 kB / 0.5828 GB, free: 28.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.7145, allocations: 339.5 kB / 0.5831 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.7185, allocations: 4.66 MB / 0.5876 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.7201, allocations: 87.91 kB / 0.5877 GB, free: 23.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.7203, allocations: 52 kB / 0.5878 GB, free: 23.57 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.001462/0.7218, allocations: 0.712 MB / 0.5885 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004274/0.7222, allocations: 169.9 kB / 0.5886 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.7256, allocations: 2.168 MB / 0.5908 GB, free: 20.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7257, allocations: 12 kB / 0.5908 GB, free: 20.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7257, allocations: 7.984 kB / 0.5908 GB, free: 20.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.7257, allocations: 3.984 kB / 0.5908 GB, free: 20.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007356/0.7331, allocations: 4.594 MB / 0.5953 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.7331, allocations: 4.031 kB / 0.5953 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/0.734, allocations: 239.6 kB / 0.5955 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.7352, allocations: 466.9 kB / 0.5959 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.7353, allocations: 31.98 kB / 0.596 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006143/0.7414, allocations: 6.199 MB / 0.602 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.7415, allocations: 7.938 kB / 0.602 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006412/0.7479, allocations: 3.237 MB / 0.6052 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.7491, allocations: 407 kB / 0.6056 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005531/0.7497, allocations: 31.98 kB / 0.6056 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.7511, allocations: 83.86 kB / 0.6057 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.7514, allocations: 120.7 kB / 0.6058 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7516, allocations: 35.98 kB / 0.6058 GB, free: 4.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001561/0.7531, allocations: 1.024 MB / 0.6068 GB, free: 3.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7532, allocations: 0 / 0.6068 GB, free: 3.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001838/0.755, allocations: 492.1 kB / 0.6073 GB, free: 2.926 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.0006181/0.7556, allocations: 301.1 kB / 0.6076 GB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004478/0.7601, allocations: 2.3 MB / 0.6098 GB, free: 264 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.7602, allocations: 0 / 0.6098 GB, free: 264 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003198/0.7634, allocations: 1.516 MB / 0.6113 GB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/0.7677, allocations: 425.6 kB / 0.6117 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.7791, allocations: 5.347 MB / 0.617 GB, free: 8.852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002235/0.7814, allocations: 1.819 MB / 0.6187 GB, free: 7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00157/0.783, allocations: 401.5 kB / 0.6191 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.7834, allocations: 115.4 kB / 0.6192 GB, free: 6.488 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.7834, allocations: 0 / 0.6192 GB, free: 6.488 MB / 394.7 MB Notification: Performance of Templates: time 0.04366/0.8271, allocations: 26.07 MB / 0.6447 GB, free: 12.63 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches