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.IMS_Start.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.001304/0.001304, allocations: 113.1 kB / 21.86 MB, free: 76 kB / 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.001392/0.001392, allocations: 220.6 kB / 25.14 MB, free: 3.582 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.7 MB, free: 7.918 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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aimsE.i_0_r|// aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsE.is.1.|aimsE.is.2.|aimsE.ir.1.|aimsE.ir.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.stator.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.ir.1.|aimsM.ir.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [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.001983/0.001983, allocations: 68.97 kB / 379.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2059, allocations: 53.37 MB / 432.8 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.02752/0.2334, allocations: 24.29 MB / 457.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.2464, allocations: 7.214 MB / 464.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.2484, allocations: 210.6 kB / 464.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.2518, allocations: 1.732 MB / 466.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004964/0.2567, allocations: 2.486 MB / 468.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.2595, allocations: 1.496 MB / 470.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009703/0.2692, allocations: 8.917 MB / 479.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005376/0.2746, allocations: 4.012 MB / 483.1 MB, free: 4.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/0.2796, allocations: 4.179 MB / 487.3 MB, free: 224 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006407/0.286, allocations: 4.959 MB / 492.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.2875, allocations: 1.102 MB / 493.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.2897, allocations: 1.382 MB / 494.8 MB, free: 8.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002562/0.2923, allocations: 2.758 MB / 497.5 MB, free: 5.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004893/0.2972, allocations: 4.687 MB / 0.4904 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.3123, allocations: 14.56 MB / 0.5046 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3123, allocations: 4 kB / 0.5046 GB, free: 2.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3123, allocations: 0 / 0.5046 GB, free: 2.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001913/0.3125, allocations: 0 / 0.5046 GB, free: 2.676 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.01925/0.3318, allocations: 9.077 MB / 0.5135 GB, free: 9.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3318, allocations: 8.031 kB / 0.5135 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005824/0.3376, allocations: 1.362 MB / 0.5148 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.3481, allocations: 5.37 MB / 0.5201 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.3485, allocations: 0.5058 MB / 0.5206 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.3496, allocations: 0.6639 MB / 0.5212 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.3654, allocations: 9.457 MB / 0.5305 GB, free: 7.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.3655, allocations: 15.89 kB / 0.5305 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006677/0.3662, allocations: 280 kB / 0.5308 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002846/0.3664, allocations: 297.4 kB / 0.531 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3395/0.706, allocations: 8.097 MB / 0.5389 GB, free: 90.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03492/0.7409, allocations: 28.5 MB / 0.5668 GB, free: 73.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007081/0.748, allocations: 5.641 MB / 0.5723 GB, free: 70.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003934/0.7519, allocations: 3.123 MB / 0.5753 GB, free: 67.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008489/0.7604, allocations: 6.496 MB / 0.5817 GB, free: 61.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.7604, allocations: 72.91 kB / 0.5817 GB, free: 61.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=305): time 4.008e-06/0.7604, allocations: 3.938 kB / 0.5818 GB, free: 61.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=324): time 0.02312/0.7835, allocations: 14.27 MB / 0.5957 GB, free: 47.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.7836, allocations: 85.95 kB / 0.5958 GB, free: 47.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.7876, allocations: 4.035 MB / 0.5997 GB, free: 43.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.7878, allocations: 81.7 kB / 0.5998 GB, free: 43.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.789, allocations: 3.181 MB / 0.6029 GB, free: 40.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005224/0.7895, allocations: 1.149 MB / 0.604 GB, free: 39.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000868/0.7904, allocations: 0.6848 MB / 0.6047 GB, free: 38.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.796e-05/0.7904, allocations: 301.1 kB / 0.605 GB, free: 38.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.7927, allocations: 1.866 MB / 0.6068 GB, free: 36.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.7953, allocations: 2.843 MB / 0.6096 GB, free: 32.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005003/0.8003, allocations: 4.904 MB / 0.6144 GB, free: 27.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.8003, allocations: 8 kB / 0.6144 GB, free: 27.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.007947/0.8082, allocations: 6.254 MB / 0.6205 GB, free: 21.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.8082, allocations: 16 kB / 0.6205 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.8083, allocations: 35.56 kB / 0.6205 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/0.8106, allocations: 1.265 MB / 0.6218 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.8133, allocations: 0.8074 MB / 0.6226 GB, free: 19.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.8283, allocations: 21.43 MB / 0.6435 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.8311, allocations: 199.9 kB / 0.6437 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/0.8314, allocations: 152 kB / 0.6438 GB, free: 12.12 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 9 (rheostatE.booleanStep[3].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (424): * Single equations (assignments): 410 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 11 * 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): 11 systems {(1,1,100.0%), (2,14,100.0%), (1,8,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003792/0.8352, allocations: 2.196 MB / 0.646 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/0.836, allocations: 477 kB / 0.6464 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.8464, allocations: 5.705 MB / 0.652 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.048e-05/0.8464, allocations: 11.95 kB / 0.652 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8464, allocations: 3.938 kB / 0.652 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/0.8485, allocations: 0.8738 MB / 0.6529 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005058/0.849, allocations: 60 kB / 0.6529 GB, free: 2.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.8508, allocations: 187.8 kB / 0.6531 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005982/0.8514, allocations: 305.9 kB / 0.6534 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01229/0.8637, allocations: 5.795 MB / 0.659 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01022/0.874, allocations: 6.764 MB / 0.6656 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002868/0.8768, allocations: 1.89 MB / 0.6675 GB, free: 3.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004168/0.881, allocations: 2.742 MB / 0.6702 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of Backend: time 1.71e-07/0.881, allocations: 0 / 0.6702 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008229/0.8892, allocations: 4.553 MB / 0.6746 GB, free: 12.23 MB / 494.1 MB Notification: Performance of SimCode: time 0.02225/0.9115, allocations: 14.32 MB / 0.6886 GB, free: 13.88 MB / 0.4982 GB Notification: Performance of Templates: time 0.3137/1.225, allocations: 81.78 MB / 0.7685 GB, free: 184.5 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.42344682989642]