Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001302/0.001302, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.001323/0.001323, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+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_4.1.0_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 51.92 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2211, allocations: 53.36 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02751/0.2486, allocations: 21.36 MB / 453.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.2628, allocations: 7.17 MB / 460.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.2654, allocations: 222.9 kB / 461.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01937/0.2848, allocations: 8.222 MB / 469.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00825/0.293, allocations: 2.976 MB / 472.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004017/0.2971, allocations: 1.717 MB / 474 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.31, allocations: 10.96 MB / 485 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0205/0.3305, allocations: 14.36 MB / 499.4 MB, free: 3.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007537/0.338, allocations: 5.88 MB / 0.4934 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008909/0.3469, allocations: 6.358 MB / 0.4996 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002448/0.3494, allocations: 1.668 MB / 0.5012 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.3531, allocations: 2.058 MB / 0.5032 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002846/0.3559, allocations: 3.16 MB / 0.5063 GB, free: 296 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005749/0.3617, allocations: 4.713 MB / 0.5109 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0234/0.385, allocations: 22.48 MB / 0.5329 GB, free: 5.008 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3851, allocations: 0 / 0.5329 GB, free: 5.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3851, allocations: 0 / 0.5329 GB, free: 5.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000369/0.3854, allocations: 4 kB / 0.5329 GB, free: 5.004 MB / 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.3752/0.7606, allocations: 12.87 MB / 0.5455 GB, free: 53.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.7607, allocations: 8.25 kB / 0.5455 GB, free: 53.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03304/0.7937, allocations: 6.184 MB / 0.5515 GB, free: 52.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.8068, allocations: 7.012 MB / 0.5584 GB, free: 51.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/0.8072, allocations: 0.7031 MB / 0.559 GB, free: 51.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.8093, allocations: 0.9234 MB / 0.5599 GB, free: 50.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.8308, allocations: 15.92 MB / 0.5755 GB, free: 36.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/0.831, allocations: 7.953 kB / 0.5755 GB, free: 36.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009777/0.832, allocations: 392.7 kB / 0.5759 GB, free: 35.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003724/0.8324, allocations: 0.5547 MB / 0.5764 GB, free: 35.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.8519, allocations: 14.74 MB / 0.5908 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06245/0.9144, allocations: 44.07 MB / 0.6338 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01812/0.9325, allocations: 9.185 MB / 0.6428 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004555/0.937, allocations: 2.928 MB / 0.6457 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.9374, allocations: 99.05 kB / 0.6458 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.301e-05/0.9374, allocations: 77.16 kB / 0.6458 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 7.704e-06/0.9374, allocations: 0 / 0.6458 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.03899/0.9764, allocations: 17.08 MB / 0.6625 GB, free: 12.66 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.9765, allocations: 93.86 kB / 0.6626 GB, free: 12.56 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00526/0.9818, allocations: 3.6 MB / 0.6661 GB, free: 8.949 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000316/0.9821, allocations: 89.7 kB / 0.6662 GB, free: 8.855 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003005/0.9851, allocations: 4.135 MB / 0.6703 GB, free: 4.711 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.9864, allocations: 1.453 MB / 0.6717 GB, free: 3.277 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/0.9883, allocations: 1.148 MB / 0.6728 GB, free: 2.117 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9884, allocations: 301.1 kB / 0.6731 GB, free: 1.82 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/0.9928, allocations: 2.799 MB / 0.6758 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006233/0.999, allocations: 4.976 MB / 0.6807 GB, free: 9.07 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.01, allocations: 8.319 MB / 0.6888 GB, free: 48 kB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.494e-05/1.01, allocations: 20 kB / 0.6888 GB, free: 28 kB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01559/1.026, allocations: 9.047 MB / 0.6977 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/1.026, allocations: 33.41 kB / 0.6977 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.758e-05/1.026, allocations: 78.77 kB / 0.6978 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/1.03, allocations: 1.193 MB / 0.6989 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004784/1.034, allocations: 1.323 MB / 0.7002 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/1.05, allocations: 9.459 MB / 0.7095 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/1.054, allocations: 331.6 kB / 0.7098 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004959/1.055, allocations: 288 kB / 0.71 GB, free: 10.77 MB / 0.545 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.005686/1.06, allocations: 3.709 MB / 0.7137 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007779/1.061, allocations: 405.4 kB / 0.7141 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.074, allocations: 6.609 MB / 0.7205 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009741/1.083, allocations: 5.541 MB / 0.7259 GB, free: 10.61 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.083, allocations: 16 kB / 0.7259 GB, free: 10.59 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-05/1.083, allocations: 19.92 kB / 0.726 GB, free: 10.57 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02458/1.108, allocations: 13.46 MB / 0.7391 GB, free: 13.17 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.108, allocations: 8.062 kB / 0.7391 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/1.111, allocations: 0.7232 MB / 0.7398 GB, free: 12.47 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.114, allocations: 1.08 MB / 0.7409 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/1.115, allocations: 95.97 kB / 0.741 GB, free: 11.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/1.128, allocations: 8.409 MB / 0.7492 GB, free: 2.809 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.128, allocations: 11.66 kB / 0.7492 GB, free: 2.801 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2063/1.335, allocations: 9.797 MB / 0.7588 GB, free: 207.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/1.337, allocations: 0.8937 MB / 0.7596 GB, free: 207.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005059/1.337, allocations: 75.47 kB / 0.7597 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.339, allocations: 197.1 kB / 0.7599 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005323/1.34, allocations: 306.9 kB / 0.7602 GB, free: 207.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/1.34, allocations: 123.2 kB / 0.7603 GB, free: 207.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002593/1.343, allocations: 2.328 MB / 0.7626 GB, free: 206.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/1.343, allocations: 3.172 kB / 0.7626 GB, free: 206.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004988/1.348, allocations: 1.605 MB / 0.7641 GB, free: 206.4 MB / 0.5763 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.0005212/1.348, allocations: 268 kB / 0.7644 GB, free: 206.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009366/1.358, allocations: 6.853 MB / 0.7711 GB, free: 203.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.358, allocations: 3.844 kB / 0.7711 GB, free: 203.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004502/1.362, allocations: 3.169 MB / 0.7742 GB, free: 202.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/1.366, allocations: 0.8694 MB / 0.775 GB, free: 202 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.385, allocations: 16.68 MB / 0.7913 GB, free: 189.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004524/1.39, allocations: 5.737 MB / 0.7969 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004006/1.394, allocations: 1.886 MB / 0.7988 GB, free: 184.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009031/1.395, allocations: 357.2 kB / 0.7991 GB, free: 183.9 MB / 0.5763 GB Notification: Performance of SimCode: time 8.52e-07/1.395, allocations: 0 / 0.7991 GB, free: 183.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.09313/1.488, allocations: 72.7 MB / 0.8701 GB, free: 112.9 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.556066144999932]