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.0008216/0.0008216, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00848/0.00848, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.9254/0.9254, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.443e-06/1.443e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.35e-05, allocations: 2.281 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02391/0.02393, allocations: 33.45 MB / 359.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.04261, allocations: 10.04 MB / 369.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007014/0.04963, allocations: 354.1 kB / 369.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.06241, allocations: 10.09 MB / 379.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.07417, allocations: 4.235 MB / 384 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005445/0.07961, allocations: 2.43 MB / 386.4 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01833/0.09795, allocations: 17.24 MB / 403.7 MB, free: 1.227 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02453/0.1225, allocations: 20.37 MB / 424 MB, free: 12.64 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01709/0.1396, allocations: 12.77 MB / 436.8 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.1516, allocations: 8.139 MB / 444.9 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004471/0.1561, allocations: 2.41 MB / 447.4 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005822/0.1619, allocations: 2.843 MB / 450.2 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3321/0.494, allocations: 4.909 MB / 455.1 MB, free: 45.64 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01421/0.5082, allocations: 6.188 MB / 461.3 MB, free: 45.64 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02525/0.5335, allocations: 32.62 MB / 493.9 MB, free: 36.16 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/0.5335, allocations: 0 / 493.9 MB, free: 36.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5335, allocations: 0.8125 kB / 493.9 MB, free: 36.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001227/0.5347, allocations: 3.5 kB / 493.9 MB, free: 36.16 MB / 410.8 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.0443/0.579, allocations: 18.83 MB / 0.5007 GB, free: 24.35 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.5791, allocations: 11.77 kB / 0.5007 GB, free: 24.35 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02515/0.6042, allocations: 8.295 MB / 0.5088 GB, free: 19.78 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/0.6218, allocations: 10.34 MB / 0.5189 GB, free: 9.863 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006926/0.6225, allocations: 1.068 MB / 0.52 GB, free: 8.805 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005834/0.6283, allocations: 1.395 MB / 0.5213 GB, free: 7.422 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04798/0.6763, allocations: 23.1 MB / 0.5439 GB, free: 200 kB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003512/0.6767, allocations: 19.91 kB / 0.5439 GB, free: 180 kB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002649/0.6793, allocations: 0.5761 MB / 0.5445 GB, free: 15.61 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000599/0.6799, allocations: 0.7754 MB / 0.5452 GB, free: 14.84 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03564/0.7156, allocations: 20.99 MB / 0.5657 GB, free: 9.844 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.284/0.9996, allocations: 63.06 MB / 0.6273 GB, free: 142.9 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.014, allocations: 13.87 MB / 0.6409 GB, free: 142.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004776/1.019, allocations: 4.733 MB / 0.6455 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/1.032, allocations: 11.42 MB / 0.6566 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.032, allocations: 88.58 kB / 0.6567 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=498): time 5.951e-06/1.032, allocations: 3.75 kB / 0.6567 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=506): time 0.03208/1.064, allocations: 25.82 MB / 0.6819 GB, free: 132.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.064, allocations: 129.3 kB / 0.6821 GB, free: 132 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/1.069, allocations: 5.514 MB / 0.6875 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/1.069, allocations: 113.7 kB / 0.6876 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001653/1.071, allocations: 6.365 MB / 0.6938 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006636/1.071, allocations: 1.79 MB / 0.6955 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/1.073, allocations: 1.475 MB / 0.697 GB, free: 118.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.085e-05/1.073, allocations: 305.1 kB / 0.6973 GB, free: 117.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/1.076, allocations: 3.634 MB / 0.7008 GB, free: 114.2 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/1.08, allocations: 6.536 MB / 0.7072 GB, free: 106.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007907/1.088, allocations: 10.79 MB / 0.7177 GB, free: 94.21 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.607e-05/1.088, allocations: 24 kB / 0.7177 GB, free: 94.19 MB / 0.4949 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01123/1.099, allocations: 11.99 MB / 0.7295 GB, free: 82.16 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/1.099, allocations: 47.98 kB / 0.7295 GB, free: 82.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-05/1.099, allocations: 99.73 kB / 0.7296 GB, free: 82.02 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/1.101, allocations: 1.583 MB / 0.7311 GB, free: 80.41 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/1.104, allocations: 1.673 MB / 0.7328 GB, free: 78.74 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/1.116, allocations: 18.7 MB / 0.751 GB, free: 59.55 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/1.12, allocations: 431.5 kB / 0.7514 GB, free: 59.13 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/1.12, allocations: 381.1 kB / 0.7518 GB, free: 58.76 MB / 0.4949 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.006546/1.127, allocations: 5.187 MB / 0.7569 GB, free: 53.55 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008781/1.127, allocations: 0.59 MB / 0.7575 GB, free: 52.96 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008812/1.136, allocations: 9.127 MB / 0.7664 GB, free: 43.77 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005158/1.141, allocations: 5.856 MB / 0.7721 GB, free: 37.89 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-05/1.141, allocations: 20 kB / 0.7721 GB, free: 37.87 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/1.141, allocations: 23.91 kB / 0.7721 GB, free: 37.84 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/1.161, allocations: 17.99 MB / 0.7897 GB, free: 19.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.161, allocations: 8 kB / 0.7897 GB, free: 19.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.162, allocations: 0.8698 MB / 0.7906 GB, free: 18.93 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/1.165, allocations: 1.638 MB / 0.7922 GB, free: 17.27 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/1.165, allocations: 131.9 kB / 0.7923 GB, free: 17.14 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.197/1.362, allocations: 21.97 MB / 0.8137 GB, free: 143 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.362, allocations: 6.875 kB / 0.8137 GB, free: 143 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.376, allocations: 13.53 MB / 0.827 GB, free: 142 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/1.378, allocations: 1.31 MB / 0.8282 GB, free: 142 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/1.378, allocations: 104.2 kB / 0.8283 GB, free: 142 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.38, allocations: 277.7 kB / 0.8286 GB, free: 142 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006117/1.38, allocations: 437.8 kB / 0.829 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.38, allocations: 156 kB / 0.8292 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003303/1.384, allocations: 3.591 MB / 0.8327 GB, free: 140.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2e-07/1.384, allocations: 3.156 kB / 0.8327 GB, free: 140.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004699/1.388, allocations: 2.335 MB / 0.835 GB, free: 140.4 MB / 0.4949 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.0004728/1.389, allocations: 310.7 kB / 0.8353 GB, free: 140.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008248/1.397, allocations: 9.449 MB / 0.8445 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.397, allocations: 3.828 kB / 0.8445 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004207/1.401, allocations: 5.143 MB / 0.8495 GB, free: 133.9 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/1.405, allocations: 1.438 MB / 0.8509 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/1.429, allocations: 24.41 MB / 0.8747 GB, free: 111.8 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004814/1.434, allocations: 8.219 MB / 0.8828 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.436, allocations: 0.5298 MB / 0.8833 GB, free: 105 MB / 0.4949 GB Notification: Performance of SimCode: time 1.803e-06/1.436, allocations: 0 / 0.8833 GB, free: 105 MB / 0.4949 GB Notification: Performance of Templates: time 0.9886/2.424, allocations: 0.6737 GB / 1.557 GB, free: 22.16 MB / 0.5105 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: 17.45965260080993]