Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.4 MB / 251.1 MB, free: 8.473 MB / 206.1 MB 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.002115/0.002115, allocations: 71.83 kB / 369 MB, free: 6.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2531, allocations: 53.31 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03164/0.2848, allocations: 27.12 MB / 449.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.3012, allocations: 8.184 MB / 457.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004371/0.3056, allocations: 199.4 kB / 457.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02316/0.3287, allocations: 9.47 MB / 467.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.3395, allocations: 3.372 MB / 470.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005859/0.3454, allocations: 1.843 MB / 472.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01837/0.3637, allocations: 12.28 MB / 484.8 MB, free: 9.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03553/0.3993, allocations: 18.64 MB / 0.4916 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01151/0.4108, allocations: 6.503 MB / 0.498 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0148/0.4256, allocations: 7.293 MB / 0.5051 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005894/0.4315, allocations: 1.84 MB / 0.5069 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008647/0.4401, allocations: 2.23 MB / 0.5091 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006819/0.4469, allocations: 3.624 MB / 0.5126 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01438/0.4613, allocations: 6.919 MB / 0.5193 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03465/0.4959, allocations: 24.82 MB / 0.5436 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.496, allocations: 4 kB / 0.5436 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.496, allocations: 0 / 0.5436 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006351/0.4966, allocations: 0 / 0.5436 GB, free: 0.9453 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.2514/0.748, allocations: 14.77 MB / 0.558 GB, free: 99.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.7481, allocations: 7.938 kB / 0.558 GB, free: 99.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0459/0.794, allocations: 8.435 MB / 0.5663 GB, free: 93.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/0.8082, allocations: 7.688 MB / 0.5738 GB, free: 86.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/0.8087, allocations: 0.8023 MB / 0.5745 GB, free: 85.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003933/0.8127, allocations: 1.057 MB / 0.5756 GB, free: 84.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04148/0.8542, allocations: 18.34 MB / 0.5935 GB, free: 65.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003916/0.8545, allocations: 15.95 kB / 0.5935 GB, free: 65.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003423/0.858, allocations: 455.2 kB / 0.5939 GB, free: 65.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005415/0.8585, allocations: 0.6633 MB / 0.5946 GB, free: 64.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/0.8883, allocations: 17.59 MB / 0.6118 GB, free: 47.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0927/0.981, allocations: 59.37 MB / 0.6697 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03676/1.018, allocations: 36.99 MB / 0.7059 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007112/1.025, allocations: 3.75 MB / 0.7095 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006714/1.026, allocations: 314 kB / 0.7098 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.083e-05/1.026, allocations: 86.56 kB / 0.7099 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 6.753e-06/1.026, allocations: 4 kB / 0.7099 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.05258/1.078, allocations: 21.6 MB / 0.731 GB, free: 15.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/1.078, allocations: 107.5 kB / 0.7311 GB, free: 15.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006766/1.085, allocations: 4.184 MB / 0.7352 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009031/1.086, allocations: 113.7 kB / 0.7353 GB, free: 10.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003599/1.09, allocations: 4.663 MB / 0.7399 GB, free: 6.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002423/1.092, allocations: 1.867 MB / 0.7417 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002308/1.094, allocations: 1.367 MB / 0.743 GB, free: 2.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.094, allocations: 305.1 kB / 0.7433 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005659/1.1, allocations: 3.453 MB / 0.7467 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008185/1.108, allocations: 5.889 MB / 0.7524 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4466/1.555, allocations: 10.04 MB / 0.7622 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.756e-05/1.555, allocations: 23.16 kB / 0.7623 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01892/1.574, allocations: 10.95 MB / 0.7729 GB, free: 183.4 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/1.574, allocations: 41.47 kB / 0.773 GB, free: 183.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/1.574, allocations: 77.19 kB / 0.7731 GB, free: 183.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/1.577, allocations: 1.453 MB / 0.7745 GB, free: 183.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005755/1.583, allocations: 1.619 MB / 0.7761 GB, free: 183 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.597, allocations: 11.49 MB / 0.7873 GB, free: 177 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/1.602, allocations: 409.3 kB / 0.7877 GB, free: 176.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/1.603, allocations: 340.9 kB / 0.788 GB, free: 176.8 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006595/1.61, allocations: 4.16 MB / 0.7921 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.611, allocations: 496 kB / 0.7925 GB, free: 174.8 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/1.624, allocations: 8.445 MB / 0.8008 GB, free: 171.2 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009388/1.633, allocations: 7.066 MB / 0.8077 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/1.633, allocations: 19.98 kB / 0.8077 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.884e-05/1.633, allocations: 26.67 kB / 0.8077 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02684/1.66, allocations: 18.78 MB / 0.8261 GB, free: 147.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/1.66, allocations: 0 / 0.8261 GB, free: 147.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/1.663, allocations: 0.9439 MB / 0.827 GB, free: 146.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/1.666, allocations: 1.301 MB / 0.8283 GB, free: 145.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.667, allocations: 120 kB / 0.8284 GB, free: 145 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.678, allocations: 10.17 MB / 0.8383 GB, free: 134.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.678, allocations: 4 kB / 0.8383 GB, free: 134.8 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/1.693, allocations: 12.29 MB / 0.8503 GB, free: 122.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002503/1.696, allocations: 1.187 MB / 0.8515 GB, free: 121.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000774/1.696, allocations: 95.98 kB / 0.8516 GB, free: 121 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.699, allocations: 272.2 kB / 0.8518 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006565/1.699, allocations: 352.3 kB / 0.8522 GB, free: 120.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002758/1.7, allocations: 164 kB / 0.8523 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00325/1.703, allocations: 2.819 MB / 0.8551 GB, free: 117.4 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/1.703, allocations: 0 / 0.8551 GB, free: 117.4 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.005812/1.709, allocations: 1.93 MB / 0.8569 GB, free: 115.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006553/1.709, allocations: 310.2 kB / 0.8572 GB, free: 115.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.721, allocations: 8.398 MB / 0.8654 GB, free: 106.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.721, allocations: 0 / 0.8654 GB, free: 106.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005772/1.727, allocations: 3.898 MB / 0.8693 GB, free: 102.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004977/1.732, allocations: 1.136 MB / 0.8704 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/1.76, allocations: 19.52 MB / 0.8894 GB, free: 82.08 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006359/1.766, allocations: 7.021 MB / 0.8963 GB, free: 75.01 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00554/1.772, allocations: 2.313 MB / 0.8985 GB, free: 72.69 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.773, allocations: 447.3 kB / 0.899 GB, free: 72.25 MB / 0.5607 GB Notification: Performance of SimCode: time 1.152e-06/1.773, allocations: 0 / 0.899 GB, free: 72.25 MB / 0.5607 GB Notification: Performance of Templates: time 0.3532/2.126, allocations: 81.79 MB / 0.9788 GB, free: 177.3 MB / 0.5607 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches