Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00193/0.00193, allocations: 82.84 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002375/0.002375, allocations: 157 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.1 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.573e-05, allocations: 4.953 kB / 325.1 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04383/0.04385, allocations: 33.44 MB / 358.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02412/0.06797, allocations: 10.03 MB / 368.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008055/0.07602, allocations: 358.1 kB / 368.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02604/0.1021, allocations: 10.09 MB / 379 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01642/0.1185, allocations: 4.224 MB / 383.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008454/0.1269, allocations: 2.441 MB / 385.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02451/0.1514, allocations: 17.24 MB / 402.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04217/0.1936, allocations: 20.36 MB / 423.3 MB, free: 2.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02663/0.2202, allocations: 12.78 MB / 436 MB, free: 5.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01661/0.2369, allocations: 8.139 MB / 444.2 MB, free: 13.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007002/0.2439, allocations: 2.414 MB / 446.6 MB, free: 11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009715/0.2536, allocations: 2.843 MB / 449.4 MB, free: 8.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007924/0.2615, allocations: 4.909 MB / 454.3 MB, free: 3.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01604/0.2775, allocations: 6.183 MB / 460.5 MB, free: 13.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2346/0.5121, allocations: 32.62 MB / 493.1 MB, free: 56.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5121, allocations: 1 kB / 493.1 MB, free: 56.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.5121, allocations: 1.156 kB / 493.1 MB, free: 56.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009008/0.513, allocations: 0 / 493.1 MB, free: 56.73 MB / 430.1 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.06201/0.575, allocations: 18.83 MB / 0.5 GB, free: 48.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.5751, allocations: 13.64 kB / 0.5 GB, free: 48.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04751/0.6226, allocations: 8.288 MB / 0.5081 GB, free: 45.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02307/0.6457, allocations: 10.35 MB / 0.5182 GB, free: 39.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008902/0.6465, allocations: 1.063 MB / 0.5192 GB, free: 39.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006016/0.6526, allocations: 1.397 MB / 0.5206 GB, free: 39.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06187/0.7144, allocations: 23.1 MB / 0.5432 GB, free: 17.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007092/0.7151, allocations: 23.89 kB / 0.5432 GB, free: 17.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00581/0.721, allocations: 0.5719 MB / 0.5437 GB, free: 16.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006719/0.7216, allocations: 0.7754 MB / 0.5445 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04475/0.7664, allocations: 20.99 MB / 0.565 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1395/0.9058, allocations: 63.07 MB / 0.6266 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02946/0.9353, allocations: 13.87 MB / 0.6401 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0102/0.9455, allocations: 4.735 MB / 0.6447 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2112/1.157, allocations: 11.42 MB / 0.6559 GB, free: 184.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.563e-05/1.157, allocations: 85.45 kB / 0.656 GB, free: 184.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=498): time 8.876e-06/1.157, allocations: 0 / 0.656 GB, free: 184.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=506): time 0.05522/1.212, allocations: 25.82 MB / 0.6812 GB, free: 178.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/1.212, allocations: 132.3 kB / 0.6813 GB, free: 178.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006947/1.219, allocations: 5.509 MB / 0.6867 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007552/1.22, allocations: 109.3 kB / 0.6868 GB, free: 176.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/1.222, allocations: 6.371 MB / 0.693 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.224, allocations: 1.789 MB / 0.6948 GB, free: 170.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/1.226, allocations: 1.469 MB / 0.6962 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.378e-05/1.226, allocations: 309.1 kB / 0.6965 GB, free: 168.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004568/1.23, allocations: 3.638 MB / 0.7001 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005561/1.236, allocations: 6.534 MB / 0.7064 GB, free: 158.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.247, allocations: 10.79 MB / 0.717 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.492e-05/1.247, allocations: 24 kB / 0.717 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01762/1.264, allocations: 11.99 MB / 0.7287 GB, free: 137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/1.264, allocations: 55.77 kB / 0.7288 GB, free: 137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-05/1.265, allocations: 92 kB / 0.7288 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/1.268, allocations: 1.585 MB / 0.7304 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005378/1.274, allocations: 1.674 MB / 0.732 GB, free: 134.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/1.293, allocations: 18.7 MB / 0.7503 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005686/1.298, allocations: 423.6 kB / 0.7507 GB, free: 114.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006693/1.299, allocations: 371.9 kB / 0.751 GB, free: 114.4 MB / 0.5137 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[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006798/1.306, allocations: 5.195 MB / 0.7561 GB, free: 109.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.307, allocations: 0.5977 MB / 0.7567 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.321, allocations: 9.123 MB / 0.7656 GB, free: 99.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008015/1.329, allocations: 5.864 MB / 0.7713 GB, free: 93.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-05/1.329, allocations: 19.06 kB / 0.7714 GB, free: 93.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-05/1.329, allocations: 23.91 kB / 0.7714 GB, free: 93.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.355, allocations: 17.99 MB / 0.7889 GB, free: 75.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/1.355, allocations: 8 kB / 0.789 GB, free: 75.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003441/1.359, allocations: 0.8706 MB / 0.7898 GB, free: 74.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004048/1.363, allocations: 1.641 MB / 0.7914 GB, free: 72.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003269/1.363, allocations: 131.9 kB / 0.7915 GB, free: 72.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/1.383, allocations: 21.98 MB / 0.813 GB, free: 50.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.383, allocations: 7.938 kB / 0.813 GB, free: 50.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.4, allocations: 13.53 MB / 0.8262 GB, free: 36.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/1.403, allocations: 1.309 MB / 0.8275 GB, free: 34.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007973/1.404, allocations: 104 kB / 0.8276 GB, free: 34.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.407, allocations: 280.9 kB / 0.8279 GB, free: 34.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008855/1.408, allocations: 440.2 kB / 0.8283 GB, free: 34.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003343/1.408, allocations: 156 kB / 0.8284 GB, free: 34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004293/1.412, allocations: 3.594 MB / 0.8319 GB, free: 30.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.412, allocations: 0 / 0.8319 GB, free: 30.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006915/1.419, allocations: 2.328 MB / 0.8342 GB, free: 28.09 MB / 0.5137 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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006655/1.42, allocations: 319.5 kB / 0.8345 GB, free: 27.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.432, allocations: 9.459 MB / 0.8438 GB, free: 18.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.432, allocations: 0 / 0.8438 GB, free: 18.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006946/1.439, allocations: 5.152 MB / 0.8488 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006535/1.445, allocations: 1.429 MB / 0.8502 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/1.652, allocations: 24.79 MB / 0.8744 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008434/1.66, allocations: 8.496 MB / 0.8827 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006434/1.666, allocations: 2.484 MB / 0.8851 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/1.668, allocations: 466.6 kB / 0.8856 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.413e-06/1.668, allocations: 3.406 kB / 0.8856 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1365/1.804, allocations: 88.62 MB / 0.9721 GB, free: 86.55 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.731980741024017]