Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008725/0.008725, allocations: 105.4 kB / 21.98 MB, free: 5.219 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.001855/0.001855, allocations: 210.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.571/1.571, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.88 kB / 379.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2499, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04453/0.2945, allocations: 39.17 MB / 472.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02534/0.3198, allocations: 10.36 MB / 482.7 MB, free: 5.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009426/0.3292, allocations: 358.1 kB / 483.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02648/0.3557, allocations: 10.35 MB / 493.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01606/0.3718, allocations: 4.219 MB / 497.7 MB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008556/0.3803, allocations: 2.504 MB / 0.4884 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02528/0.4056, allocations: 16.65 MB / 0.5047 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04042/0.446, allocations: 20.59 MB / 0.5248 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01694/0.463, allocations: 8.716 MB / 0.5333 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.578/1.041, allocations: 9.615 MB / 0.5427 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008757/1.05, allocations: 2.416 MB / 0.5451 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/1.06, allocations: 2.847 MB / 0.5478 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009459/1.069, allocations: 4.825 MB / 0.5526 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01984/1.089, allocations: 9.212 MB / 0.5616 GB, free: 27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04304/1.132, allocations: 32.24 MB / 0.593 GB, free: 9.191 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.132, allocations: 0 / 0.593 GB, free: 9.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/1.132, allocations: 0 / 0.593 GB, free: 9.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001106/1.133, allocations: 0 / 0.593 GB, free: 9.191 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.06704/1.2, allocations: 18.99 MB / 0.6116 GB, free: 11.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.2, allocations: 8.031 kB / 0.6116 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0495/1.25, allocations: 8.282 MB / 0.6197 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02607/1.276, allocations: 10.38 MB / 0.6298 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001361/1.277, allocations: 1.064 MB / 0.6309 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007212/1.284, allocations: 1.393 MB / 0.6322 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07499/1.359, allocations: 22.8 MB / 0.6545 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008668/1.36, allocations: 26.7 kB / 0.6545 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00652/1.367, allocations: 0.5833 MB / 0.6551 GB, free: 15.77 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/1.368, allocations: 0.7825 MB / 0.6558 GB, free: 14.99 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05619/1.424, allocations: 21.06 MB / 0.6764 GB, free: 9.926 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1584/1.583, allocations: 71.08 MB / 0.7458 GB, free: 2.688 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3591/1.942, allocations: 13.96 MB / 0.7594 GB, free: 193.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008108/1.95, allocations: 4.734 MB / 0.7641 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02627/1.976, allocations: 12.67 MB / 0.7764 GB, free: 186 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.957e-05/1.976, allocations: 88.7 kB / 0.7765 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.734e-06/1.976, allocations: 1.531 kB / 0.7765 GB, free: 185.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05868/2.035, allocations: 25.87 MB / 0.8018 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/2.035, allocations: 129.6 kB / 0.8019 GB, free: 175.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/2.045, allocations: 5.794 MB / 0.8076 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001164/2.046, allocations: 109.7 kB / 0.8077 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003942/2.05, allocations: 6.375 MB / 0.8139 GB, free: 166.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002129/2.052, allocations: 1.814 MB / 0.8157 GB, free: 165 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002589/2.055, allocations: 1.486 MB / 0.8171 GB, free: 163.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/2.055, allocations: 301.1 kB / 0.8174 GB, free: 163.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005126/2.06, allocations: 3.635 MB / 0.821 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006725/2.067, allocations: 6.486 MB / 0.8273 GB, free: 152.1 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/2.079, allocations: 10.79 MB / 0.8378 GB, free: 140 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.383e-05/2.079, allocations: 28 kB / 0.8379 GB, free: 140 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02195/2.101, allocations: 12.02 MB / 0.8496 GB, free: 127.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/2.101, allocations: 44 kB / 0.8496 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/2.102, allocations: 92 kB / 0.8497 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004134/2.106, allocations: 1.591 MB / 0.8513 GB, free: 126.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/2.112, allocations: 1.673 MB / 0.8529 GB, free: 124.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/2.133, allocations: 19.14 MB / 0.8716 GB, free: 104.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/2.14, allocations: 423.6 kB / 0.872 GB, free: 104.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/2.142, allocations: 375.9 kB / 0.8724 GB, free: 104 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.009154/2.151, allocations: 5.197 MB / 0.8774 GB, free: 98.79 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/2.153, allocations: 0.6288 MB / 0.8781 GB, free: 98.16 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/2.168, allocations: 9.15 MB / 0.887 GB, free: 88.95 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008433/2.176, allocations: 5.852 MB / 0.8927 GB, free: 83.06 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.284e-05/2.176, allocations: 20 kB / 0.8927 GB, free: 83.04 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.073e-05/2.176, allocations: 23.91 kB / 0.8927 GB, free: 83.02 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03742/2.214, allocations: 20.94 MB / 0.9132 GB, free: 62.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/2.214, allocations: 8 kB / 0.9132 GB, free: 62.02 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003943/2.218, allocations: 0.8699 MB / 0.9141 GB, free: 61.14 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004479/2.222, allocations: 1.639 MB / 0.9157 GB, free: 59.48 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009896/2.223, allocations: 132 kB / 0.9158 GB, free: 59.35 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/2.244, allocations: 22.48 MB / 0.9377 GB, free: 36.11 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.244, allocations: 11.94 kB / 0.9377 GB, free: 36.09 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/2.264, allocations: 13.57 MB / 0.951 GB, free: 22.19 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00408/2.268, allocations: 1.355 MB / 0.9523 GB, free: 20.83 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/2.27, allocations: 108.1 kB / 0.9524 GB, free: 20.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003691/2.273, allocations: 279.7 kB / 0.9527 GB, free: 20.45 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009574/2.274, allocations: 448.1 kB / 0.9531 GB, free: 20.01 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/2.275, allocations: 160.3 kB / 0.9533 GB, free: 19.86 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006132/2.281, allocations: 3.908 MB / 0.9571 GB, free: 15.98 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/2.281, allocations: 0 / 0.9571 GB, free: 15.98 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.009336/2.29, allocations: 2.336 MB / 0.9594 GB, free: 13.64 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.001204/2.291, allocations: 319.7 kB / 0.9597 GB, free: 13.33 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01469/2.306, allocations: 9.451 MB / 0.9689 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/2.306, allocations: 4 kB / 0.9689 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.2769/2.583, allocations: 5.141 MB / 0.9739 GB, free: 182 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009621/2.592, allocations: 1.645 MB / 0.9755 GB, free: 181.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04751/2.64, allocations: 24.72 MB / 0.9997 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01494/2.655, allocations: 8.579 MB / 1.008 GB, free: 171.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/2.657, allocations: 0.5489 MB / 1.009 GB, free: 171.3 MB / 0.5763 GB Notification: Performance of SimCode: time 1.603e-06/2.657, allocations: 0 / 1.009 GB, free: 171.3 MB / 0.5763 GB Notification: Performance of Templates: time 1.552/4.209, allocations: 0.6726 GB / 1.681 GB, free: 191.8 MB / 0.6075 GB " [Timeout remaining time 656] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.91688310704194]