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.001066/0.001066, allocations: 194.7 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.5 MB / 244.3 MB, free: 6.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007045/0.0007046, allocations: 109.2 kB / 296.4 MB, free: 6.805 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001921/0.0001921, allocations: 8 kB / 356.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2286, allocations: 51.29 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01231/0.2409, allocations: 8.309 MB / 415.8 MB, free: 19.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007466/0.2484, allocations: 2.855 MB / 418.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.2502, allocations: 43.81 kB / 418.7 MB, free: 16.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.2526, allocations: 0.5048 MB / 419.2 MB, free: 16.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.2559, allocations: 0.6682 MB / 419.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.2571, allocations: 235.5 kB / 420.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.2611, allocations: 2.743 MB / 422.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/0.2641, allocations: 1.374 MB / 424.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.2661, allocations: 0.9066 MB / 425.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/0.2687, allocations: 1.241 MB / 426.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005714/0.2693, allocations: 132 kB / 426.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.2705, allocations: 207.9 kB / 426.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.2716, allocations: 0.6736 MB / 427.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.2726, allocations: 0.4926 MB / 427.9 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.2766, allocations: 3.276 MB / 431.2 MB, free: 4.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2766, allocations: 0 / 431.2 MB, free: 4.059 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2766, allocations: 0 / 431.2 MB, free: 4.059 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001305/0.2768, allocations: 0 / 431.2 MB, free: 4.059 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.007783/0.2846, allocations: 2.46 MB / 433.6 MB, free: 1.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2846, allocations: 8.031 kB / 433.6 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.2865, allocations: 328.8 kB / 433.9 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/0.2905, allocations: 1.445 MB / 435.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.2907, allocations: 155.9 kB / 435.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006487/0.2914, allocations: 196 kB / 435.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008567/0.3, allocations: 2.724 MB / 438.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.462e-05/0.3001, allocations: 7.906 kB / 438.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.3004, allocations: 88 kB / 438.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.3006, allocations: 99.86 kB / 438.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007536/0.3082, allocations: 2.326 MB / 441 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02313/0.3314, allocations: 8.454 MB / 449.4 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/0.3353, allocations: 1.784 MB / 451.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.3389, allocations: 1.069 MB / 452.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/0.3393, allocations: 126 kB / 452.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.3394, allocations: 43.56 kB / 452.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 5.5e-06/0.3394, allocations: 8 kB / 452.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.02234/0.3617, allocations: 6.264 MB / 458.7 MB, free: 7.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3618, allocations: 68.34 kB / 458.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.3642, allocations: 1.504 MB / 460.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3643, allocations: 53.7 kB / 460.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007576/0.3651, allocations: 0.9912 MB / 461.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.3655, allocations: 410 kB / 461.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.3656, allocations: 24 kB / 461.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3658, allocations: 361.9 kB / 462.1 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.3671, allocations: 0.7378 MB / 462.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.3687, allocations: 1.059 MB / 463.9 MB, free: 2.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.3702, allocations: 0.8886 MB / 464.8 MB, free: 1.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.3703, allocations: 11.89 kB / 464.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004588/0.3749, allocations: 2.353 MB / 467.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.3749, allocations: 12.78 kB / 467.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3749, allocations: 8 kB / 467.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009479/0.3759, allocations: 419.4 kB / 467.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.3771, allocations: 323.5 kB / 467.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/0.3818, allocations: 4.636 MB / 472.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3829, allocations: 95.81 kB / 472.6 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/0.383, allocations: 59.98 kB / 472.7 MB, free: 9.305 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.001172/0.3842, allocations: 0.7082 MB / 473.4 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.3845, allocations: 166 kB / 473.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/0.388, allocations: 2.149 MB / 475.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.388, allocations: 12 kB / 475.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.388, allocations: 4 kB / 475.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.388, allocations: 7.922 kB / 475.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006933/0.395, allocations: 4.593 MB / 480.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.395, allocations: 4 kB / 480.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009311/0.3959, allocations: 227.9 kB / 480.6 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.3971, allocations: 466.4 kB / 481 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.3972, allocations: 31.98 kB / 481 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/0.4029, allocations: 6.129 MB / 487.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4029, allocations: 4.094 kB / 487.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/0.4077, allocations: 3.213 MB / 490.4 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007546/0.4085, allocations: 399 kB / 490.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.4087, allocations: 27.98 kB / 490.8 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/0.4095, allocations: 83.92 kB / 490.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.4097, allocations: 104.7 kB / 491 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.4098, allocations: 35.98 kB / 491 MB, free: 6.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00144/0.4112, allocations: 1.036 MB / 492.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4113, allocations: 0 / 492.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001355/0.4126, allocations: 464 kB / 492.5 MB, free: 4.855 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.0003055/0.4129, allocations: 155 kB / 492.7 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003395/0.4163, allocations: 2.27 MB / 494.9 MB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.4164, allocations: 4.188 kB / 494.9 MB, free: 2.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.4185, allocations: 1.499 MB / 496.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.4206, allocations: 426.1 kB / 496.9 MB, free: 392 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/0.4276, allocations: 5.36 MB / 0.4904 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.4291, allocations: 1.795 MB / 0.4922 GB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.4297, allocations: 119.4 kB / 0.4923 GB, free: 9.016 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4297, allocations: 0 / 0.4923 GB, free: 9.016 MB / 378.7 MB Notification: Performance of Templates: time 0.2514/0.6811, allocations: 69.6 MB / 0.5603 GB, free: 40.08 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