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.001441/0.001441, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001548/0.001548, allocations: 156.9 kB / 25.61 MB, free: 8.582 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.9672/0.9672, allocations: 177 MB / 205.9 MB, free: 4.453 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.813e-06/1.813e-06, allocations: 0 / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.94e-05, allocations: 2.312 kB / 274.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03597/0.036, allocations: 36.58 MB / 310.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.05517, allocations: 10.22 MB / 321 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006606/0.06177, allocations: 358.1 kB / 321.3 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0135/0.07528, allocations: 10.56 MB / 331.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.08693, allocations: 4.24 MB / 336.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005649/0.09258, allocations: 2.443 MB / 338.6 MB, free: 3.586 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1465/0.2391, allocations: 17.27 MB / 355.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02434/0.2634, allocations: 20.38 MB / 376.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/0.276, allocations: 12.91 MB / 389.1 MB, free: 1.445 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.2872, allocations: 9.209 MB / 398.3 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004897/0.2921, allocations: 2.406 MB / 400.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004879/0.297, allocations: 2.831 MB / 403.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003789/0.3007, allocations: 4.988 MB / 408.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00951/0.3103, allocations: 6.269 MB / 414.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.3286, allocations: 15.37 MB / 430.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3286, allocations: 0 / 430.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3286, allocations: 3.938 kB / 430.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006597/0.3293, allocations: 0 / 430.2 MB, free: 11.56 MB / 362.7 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.03177/0.361, allocations: 18.92 MB / 449.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3611, allocations: 8.031 kB / 449.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0245/0.3856, allocations: 8.246 MB / 457.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.3995, allocations: 9.243 MB / 466.6 MB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008874/0.4004, allocations: 1.059 MB / 467.7 MB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003303/0.4037, allocations: 1.405 MB / 469.1 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/0.4279, allocations: 11.28 MB / 480.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003895/0.4283, allocations: 22.47 kB / 480.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002349/0.4307, allocations: 0.5788 MB / 480.9 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000562/0.4312, allocations: 0.7754 MB / 481.7 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.4462, allocations: 5.162 MB / 486.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3596/0.8058, allocations: 57.37 MB / 0.5315 GB, free: 61.56 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.8163, allocations: 10.32 MB / 0.5416 GB, free: 59.47 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.8189, allocations: 1.948 MB / 0.5435 GB, free: 59.19 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.8293, allocations: 7.904 MB / 0.5512 GB, free: 54.96 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.8294, allocations: 91.75 kB / 0.5513 GB, free: 54.88 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 5.781e-06/0.8294, allocations: 0 / 0.5513 GB, free: 54.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.02352/0.8529, allocations: 12.54 MB / 0.5635 GB, free: 44.42 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.8529, allocations: 129.3 kB / 0.5636 GB, free: 44.27 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.8571, allocations: 4.91 MB / 0.5684 GB, free: 40.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004322/0.8575, allocations: 109.7 kB / 0.5685 GB, free: 40.14 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/0.8597, allocations: 6.711 MB / 0.5751 GB, free: 34.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.8609, allocations: 1.877 MB / 0.5769 GB, free: 32.62 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/0.8623, allocations: 1.649 MB / 0.5785 GB, free: 31.12 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.268e-05/0.8623, allocations: 480.8 kB / 0.579 GB, free: 30.64 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.8634, allocations: 0.8733 MB / 0.5799 GB, free: 29.77 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.8655, allocations: 5.201 MB / 0.5849 GB, free: 23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/0.8695, allocations: 6.826 MB / 0.5916 GB, free: 14.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.959e-05/0.8696, allocations: 30.62 kB / 0.5916 GB, free: 14.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.007413/0.877, allocations: 6.454 MB / 0.5979 GB, free: 9.055 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.877, allocations: 48.61 kB / 0.598 GB, free: 9.008 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.466e-05/0.8771, allocations: 92 kB / 0.5981 GB, free: 8.918 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.8796, allocations: 1.329 MB / 0.5994 GB, free: 7.59 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/0.8823, allocations: 1.537 MB / 0.6009 GB, free: 6.172 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00987/0.8922, allocations: 14.97 MB / 0.6155 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.8956, allocations: 283.9 kB / 0.6158 GB, free: 6.613 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006486/0.8962, allocations: 315.9 kB / 0.6161 GB, free: 6.305 MB / 426.8 MB 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.00254/0.8987, allocations: 0.6541 MB / 0.6167 GB, free: 5.758 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/0.8998, allocations: 0.7501 MB / 0.6174 GB, free: 5.004 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006403/0.9062, allocations: 4.664 MB / 0.622 GB, free: 388 kB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003152/0.9094, allocations: 2.451 MB / 0.6244 GB, free: 13.95 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.9094, allocations: 24 kB / 0.6244 GB, free: 13.93 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.03e-05/0.9094, allocations: 27.89 kB / 0.6244 GB, free: 13.9 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/0.9292, allocations: 14.36 MB / 0.6385 GB, free: 1.023 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.9292, allocations: 8 kB / 0.6385 GB, free: 1.016 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.9311, allocations: 0.7416 MB / 0.6392 GB, free: 320 kB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1572/1.088, allocations: 1.352 MB / 0.6405 GB, free: 96.7 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/1.089, allocations: 133 kB / 0.6406 GB, free: 96.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.101, allocations: 19.21 MB / 0.6594 GB, free: 83.68 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.101, allocations: 14.52 kB / 0.6594 GB, free: 83.68 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008496/1.11, allocations: 5.865 MB / 0.6651 GB, free: 82.43 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.112, allocations: 1.104 MB / 0.6662 GB, free: 82.25 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008757/1.113, allocations: 109.7 kB / 0.6663 GB, free: 82.25 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.114, allocations: 149.4 kB / 0.6665 GB, free: 82.25 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007207/1.115, allocations: 412.7 kB / 0.6668 GB, free: 82.24 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/1.115, allocations: 125.8 kB / 0.667 GB, free: 82.24 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002521/1.118, allocations: 2.176 MB / 0.6691 GB, free: 82.02 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.91e-07/1.118, allocations: 3.344 kB / 0.6691 GB, free: 82.02 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007043/1.125, allocations: 2.329 MB / 0.6714 GB, free: 82.02 MB / 442.8 MB 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.0008397/1.126, allocations: 324 kB / 0.6717 GB, free: 81.93 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006898/1.133, allocations: 5.516 MB / 0.6771 GB, free: 80.71 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.133, allocations: 3.062 kB / 0.6771 GB, free: 80.71 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00405/1.137, allocations: 3.66 MB / 0.6806 GB, free: 79.3 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004837/1.142, allocations: 1.487 MB / 0.6821 GB, free: 79.16 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/1.171, allocations: 20.91 MB / 0.7025 GB, free: 71 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005836/1.177, allocations: 3.817 MB / 0.7062 GB, free: 69.15 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003464/1.18, allocations: 0.9277 MB / 0.7071 GB, free: 68.43 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002523/1.183, allocations: 1.497 MB / 0.7086 GB, free: 67.23 MB / 442.8 MB Notification: Performance of SimCode: time 1.693e-06/1.183, allocations: 0 / 0.7086 GB, free: 67.23 MB / 442.8 MB Notification: Performance of Templates: time 0.1233/1.306, allocations: 98.56 MB / 0.8049 GB, free: 7.387 MB / 474.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.348680901806802]