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.0019/0.001901, allocations: 196.2 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.6 MB / 244.3 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007136/0.0007137, allocations: 92.47 kB / 296.4 MB, free: 6.801 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002142/0.0002142, allocations: 8 kB / 356.2 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1916, allocations: 51.29 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.005679/0.1973, allocations: 7.877 MB / 415.4 MB, free: 19.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003924/0.2013, allocations: 2.748 MB / 418.1 MB, free: 17.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007626/0.2021, allocations: 39.81 kB / 418.2 MB, free: 17.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.2031, allocations: 497.1 kB / 418.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.2046, allocations: 0.6216 MB / 419.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.2051, allocations: 206.4 kB / 419.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.2068, allocations: 2.444 MB / 421.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.2079, allocations: 1.235 MB / 423.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009761/0.2089, allocations: 0.8131 MB / 424 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.21, allocations: 1.117 MB / 425.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.2102, allocations: 120 kB / 425.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.2107, allocations: 203.8 kB / 425.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.2111, allocations: 0.6152 MB / 426 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003813/0.2115, allocations: 452.6 kB / 426.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.2133, allocations: 2.968 MB / 429.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2133, allocations: 7.938 kB / 429.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2133, allocations: 0 / 429.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.188e-05/0.2134, allocations: 0 / 429.4 MB, free: 5.805 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003252/0.2167, allocations: 2.22 MB / 431.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2167, allocations: 12.03 kB / 431.7 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007522/0.2175, allocations: 293.1 kB / 432 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.2191, allocations: 1.307 MB / 433.3 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.2192, allocations: 135.6 kB / 433.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.2194, allocations: 191.9 kB / 433.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.2228, allocations: 2.398 MB / 436 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/0.2229, allocations: 11.83 kB / 436 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.223, allocations: 80 kB / 436.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.264e-05/0.2231, allocations: 79.5 kB / 436.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.2264, allocations: 2.02 MB / 438.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.2376, allocations: 7.499 MB / 445.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.2394, allocations: 1.278 MB / 446.9 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.241, allocations: 0.9159 MB / 447.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.2412, allocations: 122.1 kB / 448 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.2413, allocations: 47.5 kB / 448 MB, free: 2.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/0.2413, allocations: 0 / 448 MB, free: 2.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.008901/0.2502, allocations: 4.915 MB / 452.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.2502, allocations: 60.41 kB / 453 MB, free: 13.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.2521, allocations: 1.38 MB / 454.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.222e-05/0.2522, allocations: 41.7 kB / 454.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/0.2528, allocations: 0.8892 MB / 455.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.2531, allocations: 354.9 kB / 455.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.2532, allocations: 20 kB / 455.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2533, allocations: 353.9 kB / 456 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009567/0.2543, allocations: 0.6389 MB / 456.7 MB, free: 9.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.2554, allocations: 0.9297 MB / 457.6 MB, free: 8.902 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2565, allocations: 0.7681 MB / 458.4 MB, free: 8.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2565, allocations: 0 / 458.4 MB, free: 8.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003887/0.2604, allocations: 2.395 MB / 460.7 MB, free: 5.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2604, allocations: 12.03 kB / 460.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.2604, allocations: 8 kB / 460.8 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.2621, allocations: 0.7088 MB / 461.5 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/0.263, allocations: 243.6 kB / 461.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009288/0.2723, allocations: 7.999 MB / 469.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.2734, allocations: 83.83 kB / 469.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.2735, allocations: 56.08 kB / 469.9 MB, free: 12.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009961/0.2745, allocations: 0.6185 MB / 470.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.2747, allocations: 146.3 kB / 470.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/0.2778, allocations: 1.913 MB / 472.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.2778, allocations: 12.12 kB / 472.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2778, allocations: 4 kB / 472.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.2778, allocations: 7.969 kB / 472.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005975/0.2838, allocations: 4.026 MB / 476.6 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2839, allocations: 4 kB / 476.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.2847, allocations: 179.8 kB / 476.8 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.2858, allocations: 467 kB / 477.2 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.2859, allocations: 27.98 kB / 477.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/0.2916, allocations: 6.155 MB / 483.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2916, allocations: 3.938 kB / 483.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.2958, allocations: 2.787 MB / 486.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/0.2965, allocations: 367.2 kB / 486.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.2967, allocations: 24 kB / 486.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/0.2975, allocations: 75.92 kB / 486.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.2977, allocations: 80.81 kB / 486.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.2977, allocations: 31.98 kB / 486.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001372/0.2991, allocations: 0.9426 MB / 487.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2991, allocations: 0 / 487.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001455/0.3006, allocations: 428 kB / 488.1 MB, free: 9.469 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * 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 (84): * Single equations (assignments): 80 * 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.0002978/0.3009, allocations: 155 kB / 488.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003367/0.3043, allocations: 2.012 MB / 490.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/0.3043, allocations: 0 / 490.3 MB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002115/0.3065, allocations: 1.352 MB / 491.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.3085, allocations: 372.2 kB / 492 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006632/0.3151, allocations: 4.788 MB / 496.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.3165, allocations: 1.669 MB / 498.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.3169, allocations: 103.4 kB / 498.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.317, allocations: 7.938 kB / 498.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of Templates: time 0.1947/0.5116, allocations: 52.31 MB / 0.538 GB, free: 61.17 MB / 378.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/jenkins/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