Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000954/0.0009541, allocations: 191.8 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.5 MB / 244.7 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007714/0.0007713, allocations: 98.67 kB / 296.8 MB, free: 6.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002331, allocations: 8 kB / 356.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.006381/0.2064, allocations: 8.326 MB / 416.4 MB, free: 19.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004359/0.2108, allocations: 2.849 MB / 419.2 MB, free: 16.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/0.2116, allocations: 43.81 kB / 419.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.2127, allocations: 0.5126 MB / 419.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.2141, allocations: 0.6721 MB / 420.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.2146, allocations: 227.7 kB / 420.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.2164, allocations: 2.782 MB / 423.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.2179, allocations: 1.814 MB / 425.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009063/0.2189, allocations: 0.8988 MB / 426.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.22, allocations: 1.245 MB / 427.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.2202, allocations: 132 kB / 427.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.2207, allocations: 235.8 kB / 427.8 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.2212, allocations: 0.6853 MB / 428.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008079/0.222, allocations: 1.149 MB / 429.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.2238, allocations: 3.272 MB / 432.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2238, allocations: 0 / 432.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2238, allocations: 0 / 432.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.365e-05/0.2238, allocations: 0 / 432.9 MB, free: 2.746 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003543/0.2274, allocations: 2.429 MB / 435.3 MB, free: 260 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2274, allocations: 8.031 kB / 435.3 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008585/0.2283, allocations: 337.8 kB / 435.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.2305, allocations: 1.492 MB / 437.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.2307, allocations: 148.4 kB / 437.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.231, allocations: 211.9 kB / 437.5 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004321/0.2353, allocations: 2.724 MB / 440.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.2353, allocations: 11.84 kB / 440.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/0.2355, allocations: 87.98 kB / 440.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.343e-05/0.2356, allocations: 91.94 kB / 440.4 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003764/0.2394, allocations: 2.33 MB / 442.7 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.2514, allocations: 8.458 MB / 451.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.2534, allocations: 1.779 MB / 453 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.2551, allocations: 1.065 MB / 454 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.2554, allocations: 122.1 kB / 454.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2554, allocations: 43.56 kB / 454.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 5.12e-06/0.2554, allocations: 4 kB / 454.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.01243/0.2679, allocations: 6.287 MB / 460.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.268, allocations: 64.41 kB / 460.6 MB, free: 6.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.2701, allocations: 1.504 MB / 462.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.2702, allocations: 49.7 kB / 462.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006277/0.2709, allocations: 0.9834 MB / 463.1 MB, free: 3.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.2712, allocations: 422 kB / 463.5 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.2713, allocations: 28 kB / 463.5 MB, free: 3.328 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2714, allocations: 353.9 kB / 463.9 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.2725, allocations: 0.7417 MB / 464.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.2737, allocations: 1.063 MB / 465.7 MB, free: 1.043 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.2762, allocations: 1.875 MB / 467.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2762, allocations: 4 kB / 467.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003713/0.2799, allocations: 2.369 MB / 469.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2799, allocations: 12.06 kB / 469.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2799, allocations: 8 kB / 469.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009342/0.2809, allocations: 403.1 kB / 470.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.2821, allocations: 335.5 kB / 470.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/0.2866, allocations: 4.642 MB / 475.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.2876, allocations: 103.9 kB / 475.4 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/0.2877, allocations: 51.98 kB / 475.5 MB, free: 6.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * 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.001162/0.2889, allocations: 0.7004 MB / 476.2 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.2892, allocations: 170 kB / 476.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.2927, allocations: 2.149 MB / 478.5 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.2927, allocations: 12 kB / 478.5 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.2928, allocations: 11.94 kB / 478.5 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.2928, allocations: 7.922 kB / 478.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007053/0.2998, allocations: 4.593 MB / 483.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.2999, allocations: 4 kB / 483.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/0.3008, allocations: 223.7 kB / 483.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.302, allocations: 463.2 kB / 483.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.3021, allocations: 31.98 kB / 483.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00564/0.3077, allocations: 6.145 MB / 489.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.3078, allocations: 7.875 kB / 490 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00493/0.3127, allocations: 3.198 MB / 493.2 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008361/0.3136, allocations: 403 kB / 493.5 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.3138, allocations: 27.98 kB / 493.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008036/0.3146, allocations: 79.92 kB / 493.7 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.3149, allocations: 112.7 kB / 493.8 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/0.315, allocations: 35.98 kB / 493.8 MB, free: 3.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001729/0.3167, allocations: 1.032 MB / 494.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3167, allocations: 0 / 494.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001587/0.3183, allocations: 464.1 kB / 495.3 MB, free: 2.371 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003607/0.3187, allocations: 196.7 kB / 495.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.3223, allocations: 2.27 MB / 497.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.3223, allocations: 4.562 kB / 497.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.3245, allocations: 1.495 MB / 499.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.3269, allocations: 411.3 kB / 499.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007396/0.3343, allocations: 5.36 MB / 0.4932 GB, free: 8.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.3358, allocations: 1.795 MB / 0.4949 GB, free: 6.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/0.3363, allocations: 123.4 kB / 0.495 GB, free: 6.504 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3364, allocations: 0 / 0.495 GB, free: 6.504 MB / 378.7 MB Notification: Performance of Templates: time 0.23/0.5664, allocations: 69.62 MB / 0.563 GB, free: 35.5 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches