Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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_Initialize,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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009687/0.0009689, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007941/0.0007941, allocations: 102.5 kB / 297.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002015/0.0002016, allocations: 7.984 kB / 357.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1903, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3028, allocations: 104 MB / 0.5006 GB, free: 3.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.3031, allocations: 87.95 kB / 0.5007 GB, free: 3.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2532/0.5563, allocations: 41.23 MB / 0.541 GB, free: 72.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5563, allocations: 4 kB / 0.541 GB, free: 72.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000135/0.5564, allocations: 51.94 kB / 0.541 GB, free: 72.16 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.0042/0.5607, allocations: 2.208 MB / 0.5432 GB, free: 69.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.5607, allocations: 12.02 kB / 0.5432 GB, free: 69.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009799/0.5617, allocations: 302.1 kB / 0.5435 GB, free: 69.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.564, allocations: 1.466 MB / 0.5449 GB, free: 68.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.5641, allocations: 139.9 kB / 0.545 GB, free: 67.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.5644, allocations: 180.4 kB / 0.5452 GB, free: 67.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.5679, allocations: 2.396 MB / 0.5475 GB, free: 65.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.582e-05/0.5679, allocations: 3.906 kB / 0.5476 GB, free: 65.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.5681, allocations: 79.98 kB / 0.5476 GB, free: 65.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/0.5682, allocations: 87.42 kB / 0.5477 GB, free: 65.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.5711, allocations: 1.923 MB / 0.5496 GB, free: 63.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009279/0.5804, allocations: 7.502 MB / 0.5569 GB, free: 55.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.5819, allocations: 1.321 MB / 0.5582 GB, free: 54.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.5831, allocations: 0.8495 MB / 0.559 GB, free: 53.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.5834, allocations: 134 kB / 0.5592 GB, free: 53.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.5834, allocations: 52.02 kB / 0.5592 GB, free: 53.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.898e-06/0.5834, allocations: 0 / 0.5592 GB, free: 53.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.007809/0.5912, allocations: 5.032 MB / 0.5641 GB, free: 47.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.5913, allocations: 64.41 kB / 0.5642 GB, free: 47.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.5929, allocations: 1.341 MB / 0.5655 GB, free: 46.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-05/0.593, allocations: 45.7 kB / 0.5655 GB, free: 46.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.5934, allocations: 0.897 MB / 0.5664 GB, free: 45.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.5936, allocations: 366.7 kB / 0.5668 GB, free: 45.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.5937, allocations: 24 kB / 0.5668 GB, free: 45.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.5938, allocations: 353.9 kB / 0.5671 GB, free: 44.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008539/0.5947, allocations: 0.6389 MB / 0.5678 GB, free: 44.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009355/0.5956, allocations: 0.9417 MB / 0.5687 GB, free: 43.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.5975, allocations: 1.677 MB / 0.5703 GB, free: 41.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5975, allocations: 4 kB / 0.5703 GB, free: 41.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003676/0.6012, allocations: 2.457 MB / 0.5727 GB, free: 38.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.6012, allocations: 12 kB / 0.5727 GB, free: 38.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.6012, allocations: 12 kB / 0.5727 GB, free: 38.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.603, allocations: 0.7701 MB / 0.5735 GB, free: 37.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.6037, allocations: 231.6 kB / 0.5737 GB, free: 37.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008657/0.6124, allocations: 8.593 MB / 0.5821 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.6135, allocations: 88.08 kB / 0.5822 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.6136, allocations: 55.92 kB / 0.5822 GB, free: 28.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009653/0.6146, allocations: 0.6223 MB / 0.5828 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/0.6148, allocations: 150.2 kB / 0.583 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.6177, allocations: 1.928 MB / 0.5849 GB, free: 26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6177, allocations: 8 kB / 0.5849 GB, free: 25.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6177, allocations: 4 kB / 0.5849 GB, free: 25.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6177, allocations: 3.984 kB / 0.5849 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005659/0.6234, allocations: 4.046 MB / 0.5888 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6234, allocations: 0 / 0.5888 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/0.6242, allocations: 199.7 kB / 0.589 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.6253, allocations: 467.1 kB / 0.5895 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/0.6254, allocations: 27.98 kB / 0.5895 GB, free: 21.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/0.63, allocations: 6.187 MB / 0.5955 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.63, allocations: 0 / 0.5955 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.6338, allocations: 2.849 MB / 0.5983 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/0.6345, allocations: 363.2 kB / 0.5987 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.6348, allocations: 27.98 kB / 0.5987 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008258/0.6356, allocations: 75.92 kB / 0.5988 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.6358, allocations: 84.77 kB / 0.5988 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.6359, allocations: 35.98 kB / 0.5989 GB, free: 11.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001242/0.6372, allocations: 0.927 MB / 0.5998 GB, free: 10.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6372, allocations: 0 / 0.5998 GB, free: 10.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001428/0.6386, allocations: 468 kB / 0.6002 GB, free: 9.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.0004314/0.639, allocations: 301.1 kB / 0.6005 GB, free: 9.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002893/0.6419, allocations: 2.08 MB / 0.6026 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.642, allocations: 0 / 0.6026 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.6437, allocations: 1.382 MB / 0.6039 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.6457, allocations: 365.1 kB / 0.6043 GB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.6514, allocations: 4.823 MB / 0.609 GB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.6526, allocations: 1.669 MB / 0.6106 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.6531, allocations: 107.4 kB / 0.6107 GB, free: 14.77 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.6531, allocations: 0 / 0.6107 GB, free: 14.77 MB / 394.7 MB Notification: Performance of Templates: time 0.05734/0.7104, allocations: 53.11 MB / 0.6626 GB, free: 9.648 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches