Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 55.92 kB / 348.5 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3032, allocations: 49.15 MB / 397.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02781/0.331, allocations: 25.05 MB / 422.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01885/0.3499, allocations: 7.393 MB / 430.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006981/0.3569, allocations: 189.6 kB / 430.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02286/0.3797, allocations: 8.912 MB / 439.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01401/0.3938, allocations: 3.098 MB / 442.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007/0.4008, allocations: 1.79 MB / 444.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01937/0.4201, allocations: 10.99 MB / 455.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03451/0.4546, allocations: 14.41 MB / 469.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01219/0.4668, allocations: 5.946 MB / 475.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01274/0.4796, allocations: 6.432 MB / 481.8 MB, free: 14.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005535/0.4851, allocations: 1.68 MB / 483.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008045/0.4931, allocations: 2.054 MB / 485.6 MB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006992/0.5001, allocations: 3.23 MB / 488.8 MB, free: 7.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0157/0.5158, allocations: 6.172 MB / 495 MB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03634/0.5522, allocations: 22.43 MB / 0.5053 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5522, allocations: 0 / 0.5053 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5522, allocations: 0 / 0.5053 GB, free: 11.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000728/0.5529, allocations: 0 / 0.5053 GB, free: 11.14 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04892/0.6018, allocations: 13.05 MB / 0.518 GB, free: 14.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.6019, allocations: 15.98 kB / 0.518 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04123/0.6431, allocations: 7.235 MB / 0.5251 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01742/0.6605, allocations: 6.235 MB / 0.5312 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000975/0.6615, allocations: 0.7145 MB / 0.5319 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004858/0.6664, allocations: 0.9373 MB / 0.5328 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04972/0.7161, allocations: 16.2 MB / 0.5486 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005567/0.7166, allocations: 19.94 kB / 0.5486 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004242/0.7209, allocations: 396 kB / 0.549 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008045/0.7217, allocations: 0.5825 MB / 0.5496 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2878/1.01, allocations: 15.46 MB / 0.5647 GB, free: 131.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1028/1.112, allocations: 50.84 MB / 0.6143 GB, free: 99.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/1.133, allocations: 11.08 MB / 0.6252 GB, free: 93.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005386/1.138, allocations: 3.086 MB / 0.6282 GB, free: 90.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01935/1.157, allocations: 9.817 MB / 0.6378 GB, free: 80.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/1.157, allocations: 64.83 kB / 0.6378 GB, free: 80.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 6.592e-06/1.157, allocations: 0 / 0.6378 GB, free: 80.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03714/1.194, allocations: 15.29 MB / 0.6527 GB, free: 65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/1.195, allocations: 81.78 kB / 0.6528 GB, free: 64.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007777/1.202, allocations: 3.86 MB / 0.6566 GB, free: 61.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007762/1.203, allocations: 73.7 kB / 0.6567 GB, free: 60.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.206, allocations: 4.411 MB / 0.661 GB, free: 56.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.207, allocations: 1.111 MB / 0.6621 GB, free: 55.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002973/1.21, allocations: 1.1 MB / 0.6631 GB, free: 54.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/1.21, allocations: 305.1 kB / 0.6634 GB, free: 54.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003967/1.214, allocations: 2.548 MB / 0.6659 GB, free: 51.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005035/1.219, allocations: 4.917 MB / 0.6707 GB, free: 45.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008887/1.228, allocations: 7.945 MB / 0.6785 GB, free: 36.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.826e-05/1.228, allocations: 24 kB / 0.6785 GB, free: 36.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01572/1.244, allocations: 8.631 MB / 0.6869 GB, free: 27.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.244, allocations: 40 kB / 0.687 GB, free: 27.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/1.244, allocations: 83.94 kB / 0.687 GB, free: 27.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003335/1.248, allocations: 1.245 MB / 0.6883 GB, free: 26.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.252, allocations: 1.217 MB / 0.6894 GB, free: 25.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/1.266, allocations: 9.851 MB / 0.6991 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004866/1.27, allocations: 335.5 kB / 0.6994 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.272, allocations: 288 kB / 0.6997 GB, free: 14.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00744/1.279, allocations: 3.728 MB / 0.7033 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.28, allocations: 401.4 kB / 0.7037 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.292, allocations: 5.772 MB / 0.7093 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007404/1.299, allocations: 4.731 MB / 0.7139 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.358e-05/1.299, allocations: 12 kB / 0.714 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-05/1.299, allocations: 15.94 kB / 0.714 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03684/1.336, allocations: 13.7 MB / 0.7273 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/1.336, allocations: 12.09 kB / 0.7274 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/1.339, allocations: 0.5539 MB / 0.7279 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003906/1.343, allocations: 1.108 MB / 0.729 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005829/1.343, allocations: 71.98 kB / 0.7291 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/1.36, allocations: 8.742 MB / 0.7376 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.36, allocations: 8 kB / 0.7376 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01938/1.38, allocations: 8.49 MB / 0.7459 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003825/1.383, allocations: 0.8369 MB / 0.7467 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001694/1.385, allocations: 56 kB / 0.7468 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/1.388, allocations: 179.8 kB / 0.7469 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/1.39, allocations: 242.5 kB / 0.7472 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006132/1.39, allocations: 95.98 kB / 0.7473 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007157/1.397, allocations: 2.588 MB / 0.7498 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/1.397, allocations: 0 / 0.7498 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009023/1.406, allocations: 1.547 MB / 0.7513 GB, free: 9.219 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/1.408, allocations: 234.6 kB / 0.7515 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01469/1.422, allocations: 6.264 MB / 0.7576 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.422, allocations: 4 kB / 0.7576 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2577/1.68, allocations: 2.762 MB / 0.7603 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/1.685, allocations: 0.937 MB / 0.7612 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/1.723, allocations: 16.19 MB / 0.7771 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/1.735, allocations: 6.037 MB / 0.783 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/1.737, allocations: 353.4 kB / 0.7833 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/1.737, allocations: 3.438 kB / 0.7833 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1696/1.906, allocations: 158 MB / 0.9376 GB, free: 15.87 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 18.058330256026238]