Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.00104, allocations: 191.8 kB / 17.37 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 244.7 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007505/0.0007505, allocations: 88.62 kB / 296.8 MB, free: 6.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002371, allocations: 4 kB / 356.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2384, allocations: 51.3 MB / 408.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0273/0.2657, allocations: 34.15 MB / 442.2 MB, free: 9.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02548/0.2912, allocations: 9.532 MB / 451.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01179/0.3031, allocations: 267.1 kB / 452 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.3134, allocations: 1.887 MB / 453.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01588/0.3293, allocations: 3.363 MB / 457.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0082/0.3375, allocations: 1.605 MB / 458.9 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03116/0.3687, allocations: 19.11 MB / 478 MB, free: 5.676 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05444/0.4232, allocations: 28.77 MB / 0.4949 GB, free: 8.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01425/0.4375, allocations: 6.07 MB / 0.5008 GB, free: 2.637 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2589/0.6965, allocations: 6.896 MB / 0.5075 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005594/0.7022, allocations: 0.9347 MB / 0.5084 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.7129, allocations: 1.338 MB / 0.5097 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007917/0.7209, allocations: 2.98 MB / 0.5127 GB, free: 27.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01942/0.7404, allocations: 6.99 MB / 0.5195 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02721/0.7676, allocations: 27.08 MB / 0.5459 GB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.7677, allocations: 0 / 0.5459 GB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.7677, allocations: 0 / 0.5459 GB, free: 14.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001034/0.7688, allocations: 0 / 0.5459 GB, free: 14.36 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04192/0.8107, allocations: 15.65 MB / 0.5612 GB, free: 6.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.8107, allocations: 7.438 kB / 0.5612 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04159/0.8523, allocations: 8.326 MB / 0.5693 GB, free: 164 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02024/0.8726, allocations: 9.916 MB / 0.579 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/0.8738, allocations: 1.064 MB / 0.5801 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005698/0.8795, allocations: 1.402 MB / 0.5814 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05954/0.939, allocations: 22.67 MB / 0.6036 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006309/0.9397, allocations: 19.64 kB / 0.6036 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004653/0.9444, allocations: 0.5795 MB / 0.6042 GB, free: 6.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008347/0.9452, allocations: 0.7715 MB / 0.6049 GB, free: 5.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0485/0.9937, allocations: 20.94 MB / 0.6254 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3424/1.336, allocations: 73.78 MB / 0.6974 GB, free: 113.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02702/1.363, allocations: 42.7 MB / 0.7391 GB, free: 77.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008816/1.372, allocations: 5.279 MB / 0.7443 GB, free: 76.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02587/1.398, allocations: 13.11 MB / 0.7571 GB, free: 70.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/1.398, allocations: 85.47 kB / 0.7571 GB, free: 70.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=504): time 7.004e-06/1.398, allocations: 3.844 kB / 0.7572 GB, free: 70.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=512): time 0.06399/1.462, allocations: 26.76 MB / 0.7833 GB, free: 52.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.462, allocations: 129.4 kB / 0.7834 GB, free: 52.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/1.474, allocations: 5.725 MB / 0.789 GB, free: 46.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.475, allocations: 105.7 kB / 0.7891 GB, free: 46.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003217/1.478, allocations: 6.154 MB / 0.7951 GB, free: 40.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002526/1.481, allocations: 1.744 MB / 0.7968 GB, free: 38.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.482, allocations: 152 kB / 0.797 GB, free: 38.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006248/1.483, allocations: 0.6084 MB / 0.7975 GB, free: 37.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006349/1.489, allocations: 3.649 MB / 0.8011 GB, free: 34.21 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00749/1.497, allocations: 6.502 MB / 0.8075 GB, free: 26.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/1.51, allocations: 10.82 MB / 0.818 GB, free: 14.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.511, allocations: 27.98 kB / 0.8181 GB, free: 14.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02445/1.535, allocations: 12.14 MB / 0.8299 GB, free: 2.039 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.535, allocations: 44 kB / 0.8299 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/1.535, allocations: 92 kB / 0.83 GB, free: 1.906 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004237/1.54, allocations: 1.583 MB / 0.8316 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006482/1.546, allocations: 1.669 MB / 0.8332 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02428/1.57, allocations: 18.2 MB / 0.851 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006976/1.577, allocations: 427.4 kB / 0.8514 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/1.579, allocations: 368 kB / 0.8517 GB, free: 11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,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 (868): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01341/1.593, allocations: 5.191 MB / 0.8568 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002302/1.595, allocations: 0.5942 MB / 0.8574 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3015/1.897, allocations: 9.438 MB / 0.8666 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009829/1.907, allocations: 5.931 MB / 0.8724 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.286e-05/1.907, allocations: 19.78 kB / 0.8724 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.724e-05/1.907, allocations: 29.11 kB / 0.8725 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0546/1.961, allocations: 21.14 MB / 0.8931 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/1.961, allocations: 10.28 kB / 0.8931 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003865/1.965, allocations: 0.8614 MB / 0.8939 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004416/1.97, allocations: 1.632 MB / 0.8955 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008736/1.971, allocations: 125 kB / 0.8957 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02116/1.992, allocations: 21.34 MB / 0.9165 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.992, allocations: 15.47 kB / 0.9165 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/2.017, allocations: 13.83 MB / 0.93 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004428/2.021, allocations: 1.367 MB / 0.9314 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002714/2.024, allocations: 112 kB / 0.9315 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004985/2.029, allocations: 289.3 kB / 0.9317 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001859/2.031, allocations: 417.4 kB / 0.9321 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009985/2.032, allocations: 152 kB / 0.9323 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008714/2.041, allocations: 3.849 MB / 0.936 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/2.041, allocations: 0 / 0.936 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01201/2.053, allocations: 2.348 MB / 0.9383 GB, free: 118.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/2.054, allocations: 324.6 kB / 0.9387 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01698/2.071, allocations: 9.9 MB / 0.9483 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/2.071, allocations: 3.688 kB / 0.9483 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009262/2.081, allocations: 5.479 MB / 0.9537 GB, free: 103 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0155/2.096, allocations: 1.55 MB / 0.9552 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05343/2.15, allocations: 29.38 MB / 0.9839 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01031/2.16, allocations: 8.58 MB / 0.9923 GB, free: 63.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/2.162, allocations: 0.5072 MB / 0.9928 GB, free: 62.86 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/2.163, allocations: 4 kB / 0.9928 GB, free: 62.86 MB / 0.4948 GB Notification: Performance of Templates: time 1.706/3.869, allocations: 0.6665 GB / 1.659 GB, free: 137.7 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches