Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001266/0.001266, allocations: 114 kB / 21.18 MB, free: 0.7422 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.00141/0.00141, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.42/1.42, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.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-beta.om_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-beta.om_Modelica.Magnetic.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.002127/0.002127, allocations: 63.89 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2215, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02341/0.2449, allocations: 20.32 MB / 452.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.2562, allocations: 5.951 MB / 458.4 MB, free: 13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.2589, allocations: 127.4 kB / 458.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.2622, allocations: 1.378 MB / 459.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005024/0.2672, allocations: 1.95 MB / 461.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.2699, allocations: 1.234 MB / 463 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007579/0.2774, allocations: 6.425 MB / 469.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004055/0.2815, allocations: 2.954 MB / 472.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004025/0.2855, allocations: 3.006 MB / 475.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005489/0.291, allocations: 3.659 MB / 479.1 MB, free: 8.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.2923, allocations: 0.8008 MB / 479.9 MB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.2944, allocations: 1.105 MB / 481 MB, free: 6.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.2962, allocations: 2.006 MB / 483 MB, free: 4.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00424/0.3005, allocations: 3.442 MB / 486.4 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.314, allocations: 10.7 MB / 497.1 MB, free: 6.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.314, allocations: 0 / 497.1 MB, free: 6.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.314, allocations: 0 / 497.1 MB, free: 6.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002365/0.3143, allocations: 0 / 497.1 MB, free: 6.004 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.01726/0.3315, allocations: 6.898 MB / 0.4922 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3316, allocations: 12.03 kB / 0.4922 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005454/0.337, allocations: 1.114 MB / 0.4933 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007919/0.3449, allocations: 3.766 MB / 0.497 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.3453, allocations: 382.7 kB / 0.4974 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.3463, allocations: 0.5154 MB / 0.4979 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.3586, allocations: 6.957 MB / 0.5047 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.3588, allocations: 7.953 kB / 0.5047 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005186/0.3593, allocations: 215.9 kB / 0.5049 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/0.3595, allocations: 238.2 kB / 0.5051 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.3703, allocations: 5.939 MB / 0.5109 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03657/0.4068, allocations: 21.23 MB / 0.5316 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1899/0.5968, allocations: 8.503 MB / 0.5399 GB, free: 92.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004287/0.6011, allocations: 2.2 MB / 0.5421 GB, free: 91.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009829/0.6109, allocations: 6.371 MB / 0.5483 GB, free: 88.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.6109, allocations: 59.16 kB / 0.5484 GB, free: 88.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 3.667e-06/0.6109, allocations: 0 / 0.5484 GB, free: 88.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.01861/0.6296, allocations: 11.37 MB / 0.5595 GB, free: 84.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.6296, allocations: 76.62 kB / 0.5595 GB, free: 84.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/0.6328, allocations: 3.019 MB / 0.5625 GB, free: 82.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.6329, allocations: 68.86 kB / 0.5626 GB, free: 82.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009708/0.6339, allocations: 2.373 MB / 0.5649 GB, free: 81.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.6343, allocations: 0.8567 MB / 0.5657 GB, free: 80.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006486/0.6349, allocations: 0.5191 MB / 0.5662 GB, free: 80.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.151e-05/0.635, allocations: 304.9 kB / 0.5665 GB, free: 79.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.6366, allocations: 1.353 MB / 0.5678 GB, free: 78.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.6385, allocations: 2.139 MB / 0.5699 GB, free: 75.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/0.6422, allocations: 3.699 MB / 0.5735 GB, free: 71.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.6422, allocations: 8 kB / 0.5735 GB, free: 71.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006082/0.6483, allocations: 4.662 MB / 0.5781 GB, free: 67.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6483, allocations: 22.75 kB / 0.5781 GB, free: 67.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.6484, allocations: 24 kB / 0.5781 GB, free: 67.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.6499, allocations: 0.7548 MB / 0.5789 GB, free: 66.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.6519, allocations: 0.6318 MB / 0.5795 GB, free: 65.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008864/0.6608, allocations: 14.54 MB / 0.5937 GB, free: 50.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.6631, allocations: 151.8 kB / 0.5938 GB, free: 49.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.6632, allocations: 124 kB / 0.5939 GB, free: 49.86 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.002045/0.6653, allocations: 1.612 MB / 0.5955 GB, free: 48.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/0.6657, allocations: 337.8 kB / 0.5958 GB, free: 47.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/0.6713, allocations: 4.195 MB / 0.5999 GB, free: 43.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.6714, allocations: 11.97 kB / 0.6 GB, free: 43.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6714, allocations: 0 / 0.6 GB, free: 43.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.6727, allocations: 0.7097 MB / 0.6006 GB, free: 42.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/0.6731, allocations: 55.98 kB / 0.6007 GB, free: 42.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.6745, allocations: 123.9 kB / 0.6008 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/0.6748, allocations: 213.6 kB / 0.601 GB, free: 42.5 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00713/0.6819, allocations: 4.182 MB / 0.6051 GB, free: 38.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005428/0.6874, allocations: 5.027 MB / 0.61 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001485/0.6888, allocations: 1.378 MB / 0.6114 GB, free: 31.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00229/0.6911, allocations: 2.058 MB / 0.6134 GB, free: 29.87 MB / 446.1 MB Notification: Performance of Backend: time 1.6e-07/0.6911, allocations: 0 / 0.6134 GB, free: 29.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005085/0.6962, allocations: 3.528 MB / 0.6168 GB, free: 26.2 MB / 446.1 MB Notification: Performance of SimCode: time 0.01262/0.7088, allocations: 10.5 MB / 0.6271 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Templates: time 0.09576/0.8046, allocations: 57.54 MB / 0.6833 GB, free: 6.754 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 76.99298825394362]