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.IMC_Characteristics.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.001295/0.001295, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001438/0.001438, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [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.002027/0.002027, allocations: 64.78 kB / 379.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2533, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02947/0.2828, allocations: 24.95 MB / 457.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.2978, allocations: 7.499 MB / 464.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.3019, allocations: 214.9 kB / 465.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02075/0.3227, allocations: 8.912 MB / 474 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009967/0.3326, allocations: 3.044 MB / 477.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005758/0.3384, allocations: 1.784 MB / 478.8 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01622/0.3546, allocations: 10.95 MB / 489.8 MB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02189/0.3765, allocations: 13.47 MB / 0.4915 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008344/0.3848, allocations: 5.872 MB / 0.4972 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009704/0.3946, allocations: 6.37 MB / 0.5034 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003044/0.3976, allocations: 1.676 MB / 0.5051 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.4019, allocations: 2.062 MB / 0.5071 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002901/0.4048, allocations: 3.16 MB / 0.5102 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00896/0.4138, allocations: 6.09 MB / 0.5161 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0264/0.4402, allocations: 22.4 MB / 0.538 GB, free: 36 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4402, allocations: 0 / 0.538 GB, free: 36 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4402, allocations: 3.938 kB / 0.538 GB, free: 32 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005185/0.4407, allocations: 0 / 0.538 GB, free: 32 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.4444/0.8851, allocations: 12.89 MB / 0.5506 GB, free: 86.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8852, allocations: 11.88 kB / 0.5506 GB, free: 86.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03311/0.9183, allocations: 6.18 MB / 0.5566 GB, free: 83.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.9323, allocations: 7.001 MB / 0.5635 GB, free: 76.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/0.9328, allocations: 0.7098 MB / 0.5642 GB, free: 75.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003676/0.9365, allocations: 0.9174 MB / 0.565 GB, free: 74.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03347/0.9699, allocations: 15.78 MB / 0.5805 GB, free: 58.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/0.9702, allocations: 19.89 kB / 0.5805 GB, free: 58.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002698/0.9729, allocations: 390 kB / 0.5808 GB, free: 58.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004215/0.9733, allocations: 0.5586 MB / 0.5814 GB, free: 57.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/1.001, allocations: 14.8 MB / 0.5958 GB, free: 43.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0808/1.082, allocations: 49.91 MB / 0.6446 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/1.1, allocations: 9.314 MB / 0.6537 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005329/1.106, allocations: 2.932 MB / 0.6565 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/1.106, allocations: 127 kB / 0.6567 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.356e-05/1.106, allocations: 73.62 kB / 0.6567 GB, free: 12.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 5.891e-06/1.106, allocations: 0 / 0.6567 GB, free: 12.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04738/1.154, allocations: 17.26 MB / 0.6736 GB, free: 11.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.154, allocations: 102.5 kB / 0.6737 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008299/1.162, allocations: 3.697 MB / 0.6773 GB, free: 7.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008464/1.163, allocations: 93.7 kB / 0.6774 GB, free: 7.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003724/1.167, allocations: 4.123 MB / 0.6814 GB, free: 3.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002127/1.169, allocations: 1.453 MB / 0.6828 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002141/1.171, allocations: 1.148 MB / 0.684 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/1.171, allocations: 305.1 kB / 0.6842 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004953/1.176, allocations: 2.807 MB / 0.687 GB, free: 13.83 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007459/1.183, allocations: 4.957 MB / 0.6918 GB, free: 7.875 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/1.197, allocations: 8.33 MB / 0.7 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.948e-05/1.197, allocations: 20 kB / 0.7 GB, free: 14.53 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02169/1.219, allocations: 9.098 MB / 0.7089 GB, free: 5.406 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.219, allocations: 39.98 kB / 0.7089 GB, free: 5.367 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/1.219, allocations: 68 kB / 0.709 GB, free: 5.301 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004006/1.223, allocations: 1.224 MB / 0.7102 GB, free: 4.078 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005463/1.229, allocations: 1.33 MB / 0.7115 GB, free: 2.746 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/1.247, allocations: 9.825 MB / 0.7211 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/1.252, allocations: 327.6 kB / 0.7214 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/1.253, allocations: 292 kB / 0.7216 GB, free: 8.191 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008562/1.261, allocations: 3.697 MB / 0.7253 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/1.263, allocations: 425.2 kB / 0.7257 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.279, allocations: 6.658 MB / 0.7322 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01188/1.291, allocations: 5.595 MB / 0.7376 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.894e-05/1.291, allocations: 8 kB / 0.7376 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.511e-05/1.291, allocations: 23.86 kB / 0.7377 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2591/1.55, allocations: 15.77 MB / 0.7531 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/1.55, allocations: 7.938 kB / 0.7531 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/1.553, allocations: 0.7277 MB / 0.7538 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/1.556, allocations: 1.11 MB / 0.7549 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004397/1.556, allocations: 94.17 kB / 0.7549 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/1.567, allocations: 8.754 MB / 0.7635 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.567, allocations: 7.781 kB / 0.7635 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/1.581, allocations: 9.852 MB / 0.7731 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.584, allocations: 0.9243 MB / 0.774 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007847/1.584, allocations: 78.25 kB / 0.7741 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.586, allocations: 193 kB / 0.7743 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005891/1.587, allocations: 306.1 kB / 0.7746 GB, free: 166.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.587, allocations: 133 kB / 0.7747 GB, free: 166.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003101/1.59, allocations: 2.491 MB / 0.7771 GB, free: 165.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.59, allocations: 1.422 kB / 0.7771 GB, free: 165.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005292/1.596, allocations: 1.609 MB / 0.7787 GB, free: 165 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006179/1.596, allocations: 277.8 kB / 0.779 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009798/1.606, allocations: 6.87 MB / 0.7857 GB, free: 158.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.606, allocations: 0 / 0.7857 GB, free: 158.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005045/1.611, allocations: 3.184 MB / 0.7888 GB, free: 156.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004394/1.616, allocations: 0.9634 MB / 0.7897 GB, free: 155.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/1.639, allocations: 16.74 MB / 0.8061 GB, free: 139.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00557/1.645, allocations: 6.193 MB / 0.8121 GB, free: 133.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004232/1.649, allocations: 1.916 MB / 0.814 GB, free: 131.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.65, allocations: 363.3 kB / 0.8143 GB, free: 131.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.232e-06/1.65, allocations: 0 / 0.8143 GB, free: 131.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1015/1.752, allocations: 72.14 MB / 0.8848 GB, free: 59.61 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: 8.39793527405709]