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.001845/0.001845, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002305/0.002305, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001836/0.001836, allocations: 51.86 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3052, allocations: 53.37 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0443/0.3495, allocations: 33.41 MB / 465.8 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02597/0.3755, allocations: 10.02 MB / 475.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009058/0.3846, allocations: 358.1 kB / 476.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02652/0.4111, allocations: 9.599 MB / 485.8 MB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01824/0.4293, allocations: 4.129 MB / 489.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009011/0.4383, allocations: 2.422 MB / 492.3 MB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02954/0.4679, allocations: 16.64 MB / 0.497 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0555/0.5234, allocations: 20.31 MB / 0.5169 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01854/0.5419, allocations: 8.724 MB / 0.5254 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01819/0.5601, allocations: 9.206 MB / 0.5344 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007999/0.5681, allocations: 2.418 MB / 0.5367 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4698/1.038, allocations: 2.806 MB / 0.5395 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006671/1.045, allocations: 4.819 MB / 0.5442 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01535/1.06, allocations: 7.174 MB / 0.5512 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0315/1.091, allocations: 32.36 MB / 0.5828 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.091, allocations: 4.719 kB / 0.5828 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/1.091, allocations: 0 / 0.5828 GB, free: 23.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009513/1.092, allocations: 0.8125 kB / 0.5828 GB, free: 23.23 MB / 446.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.06261/1.155, allocations: 18.98 MB / 0.6013 GB, free: 11.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.155, allocations: 7.625 kB / 0.6013 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04803/1.203, allocations: 8.284 MB / 0.6094 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02655/1.23, allocations: 10.34 MB / 0.6195 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001607/1.231, allocations: 1.059 MB / 0.6206 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006901/1.238, allocations: 1.402 MB / 0.6219 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07101/1.309, allocations: 23.1 MB / 0.6445 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007402/1.31, allocations: 27.45 kB / 0.6445 GB, free: 1.984 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005803/1.316, allocations: 0.5756 MB / 0.6451 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001057/1.317, allocations: 0.7715 MB / 0.6458 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05408/1.371, allocations: 20.99 MB / 0.6663 GB, free: 11.66 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1583/1.529, allocations: 63.03 MB / 0.7279 GB, free: 12.51 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0281/1.557, allocations: 13.86 MB / 0.7414 GB, free: 0.6914 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0099/1.567, allocations: 4.737 MB / 0.746 GB, free: 11.95 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02896/1.596, allocations: 11.42 MB / 0.7572 GB, free: 0.668 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.569e-05/1.596, allocations: 82.77 kB / 0.7573 GB, free: 0.5781 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.686e-06/1.596, allocations: 4 kB / 0.7573 GB, free: 0.5742 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.3121/1.908, allocations: 25.83 MB / 0.7825 GB, free: 192.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/1.908, allocations: 128.4 kB / 0.7826 GB, free: 192.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008162/1.917, allocations: 5.513 MB / 0.788 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.918, allocations: 113.9 kB / 0.7881 GB, free: 190.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003039/1.921, allocations: 6.383 MB / 0.7943 GB, free: 185.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002131/1.923, allocations: 1.821 MB / 0.7961 GB, free: 184.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/1.925, allocations: 1.479 MB / 0.7976 GB, free: 183.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.819e-05/1.925, allocations: 304.8 kB / 0.7978 GB, free: 183.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004922/1.93, allocations: 3.636 MB / 0.8014 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007309/1.937, allocations: 6.532 MB / 0.8078 GB, free: 176 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/1.95, allocations: 10.79 MB / 0.8183 GB, free: 164.8 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.244e-05/1.95, allocations: 28 kB / 0.8183 GB, free: 164.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02254/1.972, allocations: 11.98 MB / 0.83 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.973, allocations: 47.7 kB / 0.8301 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002834/1.973, allocations: 92 kB / 0.8302 GB, free: 154.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004875/1.978, allocations: 1.587 MB / 0.8317 GB, free: 153 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007106/1.985, allocations: 1.676 MB / 0.8334 GB, free: 151.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/2.009, allocations: 18.72 MB / 0.8517 GB, free: 133 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007846/2.016, allocations: 429.3 kB / 0.8521 GB, free: 132.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002159/2.019, allocations: 368 kB / 0.8524 GB, free: 132.2 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.0124/2.031, allocations: 5.199 MB / 0.8575 GB, free: 127 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002577/2.034, allocations: 0.5926 MB / 0.8581 GB, free: 126.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02108/2.055, allocations: 9.131 MB / 0.867 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01415/2.069, allocations: 5.856 MB / 0.8727 GB, free: 111.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001211/2.069, allocations: 23.98 kB / 0.8727 GB, free: 111.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000207/2.069, allocations: 23.91 kB / 0.8728 GB, free: 111.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04975/2.119, allocations: 17.97 MB / 0.8903 GB, free: 93.28 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/2.119, allocations: 7.938 kB / 0.8903 GB, free: 93.27 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004087/2.123, allocations: 0.8784 MB / 0.8912 GB, free: 92.39 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/2.128, allocations: 1.631 MB / 0.8928 GB, free: 90.74 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/2.129, allocations: 135.9 kB / 0.8929 GB, free: 90.61 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02234/2.151, allocations: 21.99 MB / 0.9144 GB, free: 67.93 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/2.151, allocations: 8 kB / 0.9144 GB, free: 67.92 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02459/2.176, allocations: 13.54 MB / 0.9276 GB, free: 54.06 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005032/2.181, allocations: 1.301 MB / 0.9289 GB, free: 52.76 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002602/2.183, allocations: 108 kB / 0.929 GB, free: 52.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004558/2.188, allocations: 287.6 kB / 0.9292 GB, free: 52.37 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001665/2.19, allocations: 428.2 kB / 0.9296 GB, free: 51.95 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001079/2.191, allocations: 163.9 kB / 0.9298 GB, free: 51.79 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008756/2.199, allocations: 3.586 MB / 0.9333 GB, free: 48.23 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.01e-07/2.199, allocations: 0 / 0.9333 GB, free: 48.23 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01259/2.212, allocations: 2.336 MB / 0.9356 GB, free: 45.89 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.001785/2.214, allocations: 323.4 kB / 0.9359 GB, free: 45.58 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01684/2.231, allocations: 9.455 MB / 0.9451 GB, free: 36.04 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/2.231, allocations: 4.062 kB / 0.9451 GB, free: 36.04 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00932/2.24, allocations: 5.145 MB / 0.9502 GB, free: 30.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/2.25, allocations: 1.437 MB / 0.9516 GB, free: 29.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05206/2.302, allocations: 24.66 MB / 0.9756 GB, free: 4.613 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.254/2.556, allocations: 8.208 MB / 0.9837 GB, free: 176 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002533/2.559, allocations: 0.529 MB / 0.9842 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of SimCode: time 2.013e-06/2.559, allocations: 0 / 0.9842 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of Templates: time 1.571/4.13, allocations: 0.6738 GB / 1.658 GB, free: 198.7 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: 26.522540466859937]