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.001355/0.001355, allocations: 83.05 kB / 20.49 MB, free: 1.387 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.001477/0.001477, allocations: 160.5 kB / 23.74 MB, free: 4.586 MB / 14.72 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 1.42/1.42, allocations: 177.1 MB / 204 MB, free: 9.246 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002118/0.002118, allocations: 61.5 kB / 324.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09527, allocations: 53.39 MB / 378.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0406/0.1359, allocations: 33.41 MB / 411.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02229/0.1582, allocations: 10.02 MB / 421.6 MB, free: 4.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006748/0.1649, allocations: 358 kB / 422 MB, free: 3.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02515/0.1901, allocations: 10.06 MB / 432 MB, free: 9.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01542/0.2055, allocations: 4.133 MB / 436.2 MB, free: 5.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.2155, allocations: 2.421 MB / 438.6 MB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02298/0.2385, allocations: 16.73 MB / 455.3 MB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4289/0.6674, allocations: 20.3 MB / 475.6 MB, free: 15.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02219/0.6896, allocations: 13.17 MB / 488.8 MB, free: 15.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01706/0.7066, allocations: 9.042 MB / 497.8 MB, free: 13.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006556/0.7132, allocations: 2.415 MB / 0.4885 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01306/0.7263, allocations: 2.814 MB / 0.4913 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01182/0.7381, allocations: 4.824 MB / 0.496 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01899/0.7571, allocations: 7.173 MB / 0.503 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04964/0.8067, allocations: 32.36 MB / 0.5346 GB, free: 3.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.8067, allocations: 6.531 kB / 0.5346 GB, free: 3.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8067, allocations: 0 / 0.5346 GB, free: 3.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001141/0.8079, allocations: 0 / 0.5346 GB, free: 3.27 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.0846/0.8925, allocations: 18.98 MB / 0.5531 GB, free: 336 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.8925, allocations: 15.98 kB / 0.5532 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05614/0.9487, allocations: 8.281 MB / 0.5612 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03064/0.9793, allocations: 10.34 MB / 0.5713 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001389/0.9807, allocations: 1.062 MB / 0.5724 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005886/0.9866, allocations: 1.398 MB / 0.5737 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05789/1.044, allocations: 23.1 MB / 0.5963 GB, free: 4.449 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004568/1.045, allocations: 19.91 kB / 0.5963 GB, free: 4.43 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003505/1.048, allocations: 0.5794 MB / 0.5969 GB, free: 3.863 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008913/1.049, allocations: 0.7829 MB / 0.5977 GB, free: 3.082 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04589/1.095, allocations: 20.98 MB / 0.6181 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3293/1.425, allocations: 63.06 MB / 0.6797 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02511/1.45, allocations: 13.87 MB / 0.6933 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006973/1.457, allocations: 4.726 MB / 0.6979 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/1.477, allocations: 11.42 MB / 0.709 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/1.477, allocations: 91.55 kB / 0.7091 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 8.766e-06/1.477, allocations: 0 / 0.7091 GB, free: 172.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.04864/1.526, allocations: 25.84 MB / 0.7344 GB, free: 162.5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.526, allocations: 136.1 kB / 0.7345 GB, free: 162.4 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006176/1.532, allocations: 5.509 MB / 0.7399 GB, free: 160.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0003865/1.532, allocations: 108.7 kB / 0.74 GB, free: 160.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.535, allocations: 6.388 MB / 0.7462 GB, free: 156.2 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/1.536, allocations: 1.81 MB / 0.748 GB, free: 154.8 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001869/1.537, allocations: 1.482 MB / 0.7494 GB, free: 154 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.475e-05/1.538, allocations: 305.1 kB / 0.7497 GB, free: 153.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00429/1.542, allocations: 3.641 MB / 0.7533 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00525/1.547, allocations: 6.537 MB / 0.7597 GB, free: 145.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.557, allocations: 10.78 MB / 0.7702 GB, free: 133.1 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.176e-05/1.557, allocations: 28 kB / 0.7702 GB, free: 133 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01582/1.573, allocations: 11.99 MB / 0.7819 GB, free: 121 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/1.573, allocations: 44.84 kB / 0.782 GB, free: 121 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.34e-05/1.573, allocations: 92 kB / 0.782 GB, free: 120.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004051/1.577, allocations: 1.585 MB / 0.7836 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005425/1.583, allocations: 1.677 MB / 0.7852 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/1.601, allocations: 18.72 MB / 0.8035 GB, free: 98.36 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005643/1.607, allocations: 435.4 kB / 0.8039 GB, free: 97.94 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009117/1.608, allocations: 371.9 kB / 0.8043 GB, free: 97.57 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.006801/1.615, allocations: 5.189 MB / 0.8094 GB, free: 92.38 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.616, allocations: 0.5977 MB / 0.8099 GB, free: 91.77 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.63, allocations: 9.119 MB / 0.8188 GB, free: 82.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007866/1.637, allocations: 5.856 MB / 0.8246 GB, free: 76.71 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.523e-05/1.637, allocations: 20 kB / 0.8246 GB, free: 76.69 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/1.638, allocations: 27.91 kB / 0.8246 GB, free: 76.66 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02817/1.666, allocations: 17.98 MB / 0.8422 GB, free: 58.62 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.666, allocations: 8.156 kB / 0.8422 GB, free: 58.62 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/1.669, allocations: 0.8698 MB / 0.843 GB, free: 57.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004263/1.673, allocations: 1.634 MB / 0.8446 GB, free: 56.09 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004012/1.674, allocations: 131.9 kB / 0.8448 GB, free: 55.96 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/1.694, allocations: 22 MB / 0.8662 GB, free: 33.28 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.694, allocations: 8 kB / 0.8662 GB, free: 33.27 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/1.712, allocations: 13.54 MB / 0.8795 GB, free: 19.41 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003502/1.716, allocations: 1.301 MB / 0.8807 GB, free: 18.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009555/1.716, allocations: 104 kB / 0.8808 GB, free: 18.01 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00283/1.719, allocations: 283.7 kB / 0.8811 GB, free: 17.73 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008549/1.72, allocations: 440.1 kB / 0.8815 GB, free: 17.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003214/1.72, allocations: 164.1 kB / 0.8817 GB, free: 17.14 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004541/1.725, allocations: 3.59 MB / 0.8852 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.725, allocations: 0 / 0.8852 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007843/1.733, allocations: 2.328 MB / 0.8875 GB, free: 11.24 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.0008327/1.734, allocations: 316.5 kB / 0.8878 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.747, allocations: 9.46 MB / 0.897 GB, free: 1.375 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.747, allocations: 3.938 kB / 0.897 GB, free: 1.371 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.21/1.957, allocations: 5.131 MB / 0.902 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007407/1.964, allocations: 1.443 MB / 0.9034 GB, free: 181.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03972/2.004, allocations: 25.05 MB / 0.9279 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01189/2.016, allocations: 8.488 MB / 0.9362 GB, free: 170.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006506/2.022, allocations: 2.493 MB / 0.9386 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/2.024, allocations: 465.8 kB / 0.939 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.163e-06/2.024, allocations: 3.969 kB / 0.9391 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.136/2.16, allocations: 89.25 MB / 1.026 GB, free: 89.58 MB / 0.5763 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: 9.816970970481634]