Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001898/0.001898, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002287/0.002287, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2131, allocations: 53.36 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02179/0.2348, allocations: 17.47 MB / 449.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.2466, allocations: 5.694 MB / 455.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.2491, allocations: 155.1 kB / 455.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.2521, allocations: 1.32 MB / 457 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.257, allocations: 1.957 MB / 459 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.2596, allocations: 1.193 MB / 460.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007525/0.2671, allocations: 6.442 MB / 466.6 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004227/0.2713, allocations: 2.954 MB / 469.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/0.2751, allocations: 3.073 MB / 472.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/0.2799, allocations: 3.671 MB / 476.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.281, allocations: 0.8008 MB / 477.1 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.283, allocations: 1.078 MB / 478.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.2848, allocations: 1.998 MB / 480.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002979/0.2878, allocations: 2.747 MB / 482.9 MB, free: 3.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.2985, allocations: 10.75 MB / 493.7 MB, free: 9.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2985, allocations: 0 / 493.7 MB, free: 9.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2985, allocations: 0 / 493.7 MB, free: 9.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.2987, allocations: 0 / 493.7 MB, free: 9.121 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.0156/0.3143, allocations: 6.815 MB / 0.4887 GB, free: 2.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3143, allocations: 8.031 kB / 0.4888 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/0.3196, allocations: 1.118 MB / 0.4898 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007282/0.3269, allocations: 3.663 MB / 0.4934 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.3272, allocations: 386.7 kB / 0.4938 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008346/0.328, allocations: 0.5038 MB / 0.4943 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.34, allocations: 7.224 MB / 0.5013 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.3401, allocations: 7.953 kB / 0.5013 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005129/0.3406, allocations: 212 kB / 0.5015 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.3409, allocations: 238.2 kB / 0.5018 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.3509, allocations: 5.915 MB / 0.5076 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03093/0.3818, allocations: 18.28 MB / 0.5254 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006809/0.3886, allocations: 3.892 MB / 0.5292 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003836/0.3925, allocations: 2.194 MB / 0.5313 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.4033, allocations: 5.242 MB / 0.5365 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/0.4033, allocations: 52.56 kB / 0.5365 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.368e-06/0.4033, allocations: 4 kB / 0.5365 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.206/0.6093, allocations: 10.56 MB / 0.5468 GB, free: 95.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.6093, allocations: 75.62 kB / 0.5469 GB, free: 95.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.6122, allocations: 2.697 MB / 0.5495 GB, free: 94.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.6123, allocations: 69.33 kB / 0.5496 GB, free: 94.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008974/0.6132, allocations: 2.397 MB / 0.5519 GB, free: 93.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.6136, allocations: 0.8538 MB / 0.5528 GB, free: 92.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006684/0.6143, allocations: 0.5139 MB / 0.5533 GB, free: 92.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.054e-05/0.6143, allocations: 301.1 kB / 0.5536 GB, free: 92.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.616, allocations: 1.357 MB / 0.5549 GB, free: 91.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.6178, allocations: 2.161 MB / 0.557 GB, free: 89.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.6215, allocations: 3.696 MB / 0.5606 GB, free: 85.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.6215, allocations: 11.94 kB / 0.5606 GB, free: 85.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.005815/0.6273, allocations: 4.558 MB / 0.5651 GB, free: 80.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.6273, allocations: 15.5 kB / 0.5651 GB, free: 80.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.6274, allocations: 29.69 kB / 0.5651 GB, free: 80.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.6289, allocations: 0.756 MB / 0.5659 GB, free: 80.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.631, allocations: 0.6288 MB / 0.5665 GB, free: 79.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00869/0.6397, allocations: 13.55 MB / 0.5797 GB, free: 65.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.6417, allocations: 147.8 kB / 0.5798 GB, free: 65.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.6419, allocations: 127.9 kB / 0.58 GB, free: 64.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (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 (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002186/0.6441, allocations: 1.613 MB / 0.5815 GB, free: 63.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.6445, allocations: 314 kB / 0.5818 GB, free: 63.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/0.6501, allocations: 4.003 MB / 0.5857 GB, free: 58.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.6501, allocations: 11.97 kB / 0.5858 GB, free: 58.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6501, allocations: 0 / 0.5858 GB, free: 58.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.6515, allocations: 0.6033 MB / 0.5863 GB, free: 58.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/0.6519, allocations: 51.98 kB / 0.5864 GB, free: 58.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.6532, allocations: 135.8 kB / 0.5865 GB, free: 58.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.6535, allocations: 217.5 kB / 0.5867 GB, free: 57.96 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007187/0.6607, allocations: 4.146 MB / 0.5908 GB, free: 53.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0056/0.6663, allocations: 4.995 MB / 0.5957 GB, free: 48.82 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001505/0.6678, allocations: 1.384 MB / 0.597 GB, free: 47.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00213/0.67, allocations: 1.792 MB / 0.5988 GB, free: 45.65 MB / 446.1 MB Notification: Performance of Backend: time 2.61e-07/0.67, allocations: 0 / 0.5988 GB, free: 45.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005076/0.675, allocations: 3.313 MB / 0.602 GB, free: 42.26 MB / 446.1 MB Notification: Performance of SimCode: time 0.01174/0.6868, allocations: 10.26 MB / 0.612 GB, free: 31.96 MB / 446.1 MB Notification: Performance of Templates: time 0.08713/0.7739, allocations: 59.88 MB / 0.6705 GB, free: 4.805 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.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/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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: 82.51582830199914]