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.001255/0.001255, allocations: 114.5 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.001303/0.001303, allocations: 211.4 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.381/1.381, allocations: 230.4 MB / 258.1 MB, free: 8.121 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.001906/0.001906, allocations: 67.78 kB / 378.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2083, 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.IMS_Start): time 0.02772/0.236, allocations: 24.46 MB / 456.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.2492, allocations: 7.226 MB / 463.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.2518, allocations: 163.4 kB / 463.9 MB, free: 7.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.2553, allocations: 1.736 MB / 465.7 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.2607, allocations: 2.473 MB / 468.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.2637, allocations: 1.477 MB / 469.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009893/0.2736, allocations: 8.905 MB / 478.5 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005221/0.2788, allocations: 4.008 MB / 482.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004976/0.2838, allocations: 4.097 MB / 486.6 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006572/0.2903, allocations: 4.959 MB / 491.6 MB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.2918, allocations: 1.105 MB / 492.7 MB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.294, allocations: 1.402 MB / 494.1 MB, free: 9.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002481/0.2965, allocations: 2.746 MB / 496.8 MB, free: 6.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005158/0.3017, allocations: 4.691 MB / 0.4898 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.3174, allocations: 14.55 MB / 0.504 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3174, allocations: 0 / 0.504 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3174, allocations: 3.938 kB / 0.504 GB, free: 3.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002281/0.3176, allocations: 8 kB / 0.504 GB, free: 3 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.01984/0.3374, allocations: 9.152 MB / 0.5129 GB, free: 9.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3375, allocations: 8.031 kB / 0.5129 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005826/0.3433, allocations: 1.366 MB / 0.5143 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.3541, allocations: 5.481 MB / 0.5196 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/0.3545, allocations: 0.5019 MB / 0.5201 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.3556, allocations: 0.6639 MB / 0.5208 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/0.3709, allocations: 9.461 MB / 0.53 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001432/0.3711, allocations: 15.89 kB / 0.53 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006967/0.3718, allocations: 276 kB / 0.5303 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002965/0.372, allocations: 301.4 kB / 0.5306 GB, free: 7.488 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.333/0.705, allocations: 8.096 MB / 0.5385 GB, free: 91.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/0.7402, allocations: 29.27 MB / 0.5671 GB, free: 72.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007715/0.7479, allocations: 12 MB / 0.5788 GB, free: 62.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/0.7519, allocations: 3.129 MB / 0.5818 GB, free: 59.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.762, allocations: 7.031 MB / 0.5887 GB, free: 52.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.7621, allocations: 72.97 kB / 0.5888 GB, free: 52.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=305): time 4.308e-06/0.7621, allocations: 0 / 0.5888 GB, free: 52.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=324): time 0.02363/0.7857, allocations: 15.8 MB / 0.6042 GB, free: 36.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.7857, allocations: 81.95 kB / 0.6043 GB, free: 36.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004041/0.7898, allocations: 4.041 MB / 0.6082 GB, free: 32.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.79, allocations: 81.7 kB / 0.6083 GB, free: 32.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.7912, allocations: 3.177 MB / 0.6114 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005059/0.7917, allocations: 1.145 MB / 0.6125 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008464/0.7926, allocations: 0.6819 MB / 0.6132 GB, free: 27.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.891e-05/0.7926, allocations: 305.1 kB / 0.6135 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/0.7948, allocations: 1.862 MB / 0.6153 GB, free: 25.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.7973, allocations: 2.843 MB / 0.6181 GB, free: 22.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004764/0.802, allocations: 4.904 MB / 0.6229 GB, free: 16.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.8021, allocations: 8 kB / 0.6229 GB, free: 16.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.007818/0.8099, allocations: 6.412 MB / 0.6291 GB, free: 10.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.8099, allocations: 16.94 kB / 0.6292 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.8099, allocations: 28 kB / 0.6292 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/0.8122, allocations: 1.272 MB / 0.6304 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/0.8149, allocations: 0.8112 MB / 0.6312 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.8341, allocations: 22.56 MB / 0.6532 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/0.8372, allocations: 195.7 kB / 0.6534 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.8375, allocations: 152 kB / 0.6536 GB, free: 15.64 MB / 478.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.003568/0.8411, allocations: 2.199 MB / 0.6557 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007812/0.8419, allocations: 469 kB / 0.6562 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.8521, allocations: 6.006 MB / 0.662 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/0.8521, allocations: 15.94 kB / 0.6621 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8521, allocations: 0 / 0.6621 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/0.8542, allocations: 0.9392 MB / 0.663 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005667/0.8548, allocations: 60 kB / 0.663 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/0.8567, allocations: 183.8 kB / 0.6632 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/0.8572, allocations: 302 kB / 0.6635 GB, free: 5.266 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01226/0.8695, allocations: 5.81 MB / 0.6692 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009987/0.8795, allocations: 6.762 MB / 0.6758 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002751/0.8822, allocations: 1.89 MB / 0.6776 GB, free: 6.715 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004088/0.8863, allocations: 2.742 MB / 0.6803 GB, free: 3.969 MB / 494.1 MB Notification: Performance of Backend: time 1.7e-07/0.8863, allocations: 0 / 0.6803 GB, free: 3.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008279/0.8946, allocations: 4.781 MB / 0.685 GB, free: 14.99 MB / 0.4982 GB Notification: Performance of SimCode: time 0.02268/0.9173, allocations: 14.32 MB / 0.6989 GB, free: 0.6406 MB / 0.4982 GB Notification: Performance of Templates: time 0.2932/1.21, allocations: 80.44 MB / 0.7775 GB, free: 177.8 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_2/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_2/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: 79.2753851460293]