Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 112.5 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 51.94 kB / 374.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 53.33 MB / 427.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2958/0.4142, allocations: 39.07 MB / 466.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03531/0.4495, allocations: 10.34 MB / 476.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01464/0.4641, allocations: 356.2 kB / 477.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02897/0.4931, allocations: 10.33 MB / 487.6 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02269/0.5158, allocations: 4.132 MB / 491.8 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.5264, allocations: 2.426 MB / 494.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03117/0.5575, allocations: 16.54 MB / 0.4987 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04895/0.6065, allocations: 23.68 MB / 0.5219 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01848/0.625, allocations: 8.657 MB / 0.5303 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02081/0.6458, allocations: 9.601 MB / 0.5397 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009034/0.6548, allocations: 2.414 MB / 0.5421 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/0.6692, allocations: 2.832 MB / 0.5448 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01104/0.6802, allocations: 4.828 MB / 0.5495 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0254/0.7056, allocations: 9.21 MB / 0.5585 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05421/0.7598, allocations: 32.24 MB / 0.59 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.7598, allocations: 4 kB / 0.59 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7598, allocations: 0 / 0.59 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000985/0.7608, allocations: 0 / 0.59 GB, free: 15.37 MB / 0.4981 GB 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.07209/0.8329, allocations: 19.06 MB / 0.6086 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.833, allocations: 15.97 kB / 0.6087 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05052/0.8835, allocations: 8.279 MB / 0.6167 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5331/1.417, allocations: 10.28 MB / 0.6268 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/1.418, allocations: 1.06 MB / 0.6278 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007772/1.426, allocations: 1.397 MB / 0.6292 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06072/1.486, allocations: 22.79 MB / 0.6514 GB, free: 129.6 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005066/1.487, allocations: 24.38 kB / 0.6515 GB, free: 129.6 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004238/1.491, allocations: 0.5768 MB / 0.652 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009361/1.492, allocations: 0.7792 MB / 0.6528 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0382/1.53, allocations: 21.07 MB / 0.6734 GB, free: 115.7 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.117/1.647, allocations: 72.87 MB / 0.7445 GB, free: 42.57 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03594/1.683, allocations: 42.12 MB / 0.7856 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00912/1.692, allocations: 4.748 MB / 0.7903 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03204/1.724, allocations: 13.03 MB / 0.803 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.146e-05/1.724, allocations: 86.77 kB / 0.8031 GB, free: 9.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=498): time 6.402e-06/1.724, allocations: 0 / 0.8031 GB, free: 9.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=506): time 0.06442/1.789, allocations: 26.62 MB / 0.8291 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.789, allocations: 133.3 kB / 0.8292 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009913/1.799, allocations: 5.789 MB / 0.8349 GB, free: 9.117 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009803/1.8, allocations: 109.7 kB / 0.835 GB, free: 9.004 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005202/1.805, allocations: 6.372 MB / 0.8412 GB, free: 2.617 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002519/1.808, allocations: 1.814 MB / 0.843 GB, free: 0.8242 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2541/2.062, allocations: 1.477 MB / 0.8444 GB, free: 185.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/2.062, allocations: 305.6 kB / 0.8447 GB, free: 185 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006137/2.068, allocations: 3.635 MB / 0.8483 GB, free: 184.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008343/2.076, allocations: 6.484 MB / 0.8546 GB, free: 180.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01398/2.09, allocations: 10.79 MB / 0.8651 GB, free: 173.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001759/2.09, allocations: 27.66 kB / 0.8651 GB, free: 173.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02563/2.116, allocations: 12.1 MB / 0.877 GB, free: 169 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.733e-05/2.116, allocations: 45.45 kB / 0.877 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/2.116, allocations: 91.38 kB / 0.8771 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004691/2.121, allocations: 1.59 MB / 0.8786 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006519/2.127, allocations: 1.681 MB / 0.8803 GB, free: 168.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/2.148, allocations: 19.63 MB / 0.8995 GB, free: 155.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006951/2.155, allocations: 425.5 kB / 0.8999 GB, free: 155.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/2.157, allocations: 381.7 kB / 0.9002 GB, free: 155.3 MB / 0.5763 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.009496/2.166, allocations: 5.189 MB / 0.9053 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/2.168, allocations: 0.6319 MB / 0.9059 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/2.183, allocations: 9.306 MB / 0.915 GB, free: 149 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009115/2.192, allocations: 5.859 MB / 0.9207 GB, free: 144.4 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.876e-05/2.192, allocations: 20 kB / 0.9207 GB, free: 144.4 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.107e-05/2.192, allocations: 29.92 kB / 0.9208 GB, free: 144.4 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03625/2.229, allocations: 21.01 MB / 0.9413 GB, free: 125.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/2.229, allocations: 7.938 kB / 0.9413 GB, free: 125.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003712/2.232, allocations: 0.8698 MB / 0.9421 GB, free: 124.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/2.237, allocations: 1.639 MB / 0.9437 GB, free: 123.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008905/2.238, allocations: 135.9 kB / 0.9439 GB, free: 123.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02083/2.259, allocations: 23.2 MB / 0.9665 GB, free: 99.16 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/2.259, allocations: 15.88 kB / 0.9665 GB, free: 99.14 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/2.279, allocations: 13.73 MB / 0.98 GB, free: 85.33 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003811/2.283, allocations: 1.397 MB / 0.9813 GB, free: 83.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/2.285, allocations: 108 kB / 0.9814 GB, free: 83.81 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003777/2.288, allocations: 279.7 kB / 0.9817 GB, free: 83.54 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/2.289, allocations: 420.3 kB / 0.9821 GB, free: 83.12 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003509/2.29, allocations: 156 kB / 0.9822 GB, free: 82.97 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006118/2.296, allocations: 3.908 MB / 0.986 GB, free: 79.09 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.21e-07/2.296, allocations: 0 / 0.986 GB, free: 79.09 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01074/2.307, allocations: 2.336 MB / 0.9883 GB, free: 76.76 MB / 0.5763 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.001428/2.308, allocations: 318.6 kB / 0.9886 GB, free: 76.46 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01537/2.323, allocations: 9.535 MB / 0.9979 GB, free: 66.83 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/2.323, allocations: 0 / 0.9979 GB, free: 66.83 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00837/2.332, allocations: 5.143 MB / 1.003 GB, free: 61.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00915/2.341, allocations: 1.647 MB / 1.005 GB, free: 60.01 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04409/2.385, allocations: 24.52 MB / 1.029 GB, free: 35.37 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01435/2.399, allocations: 8.569 MB / 1.037 GB, free: 26.76 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/2.402, allocations: 0.5462 MB / 1.037 GB, free: 26.21 MB / 0.5763 GB Notification: Performance of SimCode: time 1.904e-06/2.402, allocations: 4 kB / 1.037 GB, free: 26.21 MB / 0.5763 GB Notification: Performance of Templates: time 1.528/3.93, allocations: 0.6725 GB / 1.71 GB, free: 33.48 MB / 0.6075 GB " [Timeout remaining time 656] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 28.932003338006325]