Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 109.8 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009613/0.0009614, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2134, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.007223/0.2206, allocations: 8.868 MB / 415.9 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004739/0.2254, allocations: 2.901 MB / 418.8 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009165/0.2263, allocations: 43.81 kB / 418.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.2275, allocations: 0.54 MB / 419.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.2288, allocations: 0.6606 MB / 420.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.2293, allocations: 283.7 kB / 420.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.231, allocations: 2.758 MB / 423.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.2323, allocations: 1.449 MB / 424.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008897/0.2332, allocations: 0.9339 MB / 425.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.2342, allocations: 1.307 MB / 426.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.2345, allocations: 172 kB / 427 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005582/0.2351, allocations: 279.8 kB / 427.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.2355, allocations: 0.6853 MB / 427.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.2363, allocations: 1.143 MB / 429.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.2383, allocations: 3.563 MB / 432.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2383, allocations: 0 / 432.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2383, allocations: 0 / 432.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.829e-05/0.2384, allocations: 7.938 kB / 432.6 MB, free: 2.105 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.004297/0.2427, allocations: 2.583 MB / 435.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2427, allocations: 8.031 kB / 435.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008414/0.2436, allocations: 290.1 kB / 435.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.2458, allocations: 1.35 MB / 436.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.2459, allocations: 139.9 kB / 437 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.2461, allocations: 183.8 kB / 437.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/0.2497, allocations: 2.417 MB / 439.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.2497, allocations: 7.906 kB / 439.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.2499, allocations: 68 kB / 439.7 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/0.25, allocations: 87.5 kB / 439.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.253, allocations: 2.02 MB / 441.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.2632, allocations: 7.448 MB / 449.2 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.2649, allocations: 1.284 MB / 450.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.2664, allocations: 0.9042 MB / 451.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.2666, allocations: 118.1 kB / 451.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2667, allocations: 51.55 kB / 451.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.2667, allocations: 0 / 451.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.00843/0.2751, allocations: 4.894 MB / 456.5 MB, free: 9.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.2752, allocations: 64.34 kB / 456.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.2769, allocations: 1.377 MB / 457.9 MB, free: 8.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.277, allocations: 41.7 kB / 458 MB, free: 8.199 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.2776, allocations: 0.9008 MB / 458.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.2779, allocations: 350.9 kB / 459.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.2782, allocations: 214.8 kB / 459.4 MB, free: 6.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2783, allocations: 353.9 kB / 459.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.2793, allocations: 0.6272 MB / 460.4 MB, free: 5.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.2803, allocations: 0.9297 MB / 461.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.2823, allocations: 1.649 MB / 463 MB, free: 2.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2823, allocations: 4 kB / 463 MB, free: 2.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003781/0.2861, allocations: 2.394 MB / 465.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2862, allocations: 8 kB / 465.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2862, allocations: 8 kB / 465.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.2879, allocations: 0.7165 MB / 466.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/0.2887, allocations: 231.6 kB / 466.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009236/0.2979, allocations: 8.008 MB / 474.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.299, allocations: 76.2 kB / 474.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.2991, allocations: 63.92 kB / 474.5 MB, free: 7.129 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000915/0.3, allocations: 0.6237 MB / 475.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.3002, allocations: 146.2 kB / 475.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.3034, allocations: 1.897 MB / 477.1 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3034, allocations: 8 kB / 477.1 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3034, allocations: 11.94 kB / 477.1 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3034, allocations: 7.969 kB / 477.2 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006238/0.3097, allocations: 4.002 MB / 481.2 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3097, allocations: 4 kB / 481.2 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.3105, allocations: 175.8 kB / 481.3 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.3117, allocations: 471.1 kB / 481.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.3118, allocations: 27.98 kB / 481.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005451/0.3172, allocations: 6.145 MB / 488 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3172, allocations: 3.984 kB / 488 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0324/0.3496, allocations: 21.24 MB / 0.4973 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009733/0.3507, allocations: 359.2 kB / 0.4976 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.351, allocations: 23.98 kB / 0.4976 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/0.3518, allocations: 72.05 kB / 0.4977 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.3521, allocations: 88.75 kB / 0.4978 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.3522, allocations: 31.98 kB / 0.4978 GB, free: 2.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001642/0.3538, allocations: 0.9543 MB / 0.4988 GB, free: 1.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3538, allocations: 0 / 0.4988 GB, free: 1.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002018/0.3559, allocations: 0.5898 MB / 0.4993 GB, free: 1.055 MB / 378.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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003868/0.3563, allocations: 188 kB / 0.4995 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1635/0.5198, allocations: 1.994 MB / 0.5015 GB, free: 92.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5198, allocations: 0.9688 kB / 0.5015 GB, free: 92.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.5218, allocations: 1.344 MB / 0.5028 GB, free: 91.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.5236, allocations: 361 kB / 0.5031 GB, free: 91.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00776/0.5314, allocations: 6.112 MB / 0.5091 GB, free: 88.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.5331, allocations: 1.724 MB / 0.5108 GB, free: 87.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.5342, allocations: 325.6 kB / 0.5111 GB, free: 87.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.5345, allocations: 104.8 kB / 0.5112 GB, free: 87.72 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5345, allocations: 0 / 0.5112 GB, free: 87.72 MB / 378.7 MB Notification: Performance of Templates: time 0.03735/0.5719, allocations: 28.31 MB / 0.5388 GB, free: 63.5 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches