Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001307/0.001307, allocations: 90.47 kB / 20.69 MB, free: 1.02 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.00139/0.00139, allocations: 157.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.1 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.83e-05, allocations: 2.281 kB / 325.1 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02568/0.02569, allocations: 21.39 MB / 346.4 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.04169, allocations: 7.185 MB / 353.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004207/0.04589, allocations: 226.8 kB / 353.9 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02095/0.06684, allocations: 8.661 MB / 362.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.07691, allocations: 3.021 MB / 365.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005442/0.08235, allocations: 1.718 MB / 367.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01597/0.09832, allocations: 11.29 MB / 378.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02588/0.1242, allocations: 14.21 MB / 392.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01745/0.1416, allocations: 8.608 MB / 401.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.1526, allocations: 5.454 MB / 406.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003519/0.1561, allocations: 1.668 MB / 408.5 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/0.161, allocations: 2.058 MB / 410.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003151/0.1642, allocations: 3.222 MB / 413.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007532/0.1717, allocations: 4.074 MB / 417.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02681/0.1985, allocations: 22.72 MB / 440.6 MB, free: 1.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.1985, allocations: 0 / 440.6 MB, free: 1.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1985, allocations: 0 / 440.6 MB, free: 1.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005495/0.1991, allocations: 0 / 440.6 MB, free: 1.117 MB / 398.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.04021/0.2393, allocations: 12.79 MB / 453.3 MB, free: 4.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.2394, allocations: 15.97 kB / 453.4 MB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03742/0.2768, allocations: 6.187 MB / 459.5 MB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.2928, allocations: 7.007 MB / 466.6 MB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007826/0.2936, allocations: 0.7024 MB / 467.3 MB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004273/0.2978, allocations: 0.9256 MB / 468.2 MB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3353/0.6332, allocations: 15.92 MB / 484.1 MB, free: 107.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/0.6334, allocations: 21.83 kB / 484.1 MB, free: 107.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.6348, allocations: 389.2 kB / 484.5 MB, free: 106.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006049/0.6355, allocations: 0.547 MB / 485.1 MB, free: 106.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02546/0.6609, allocations: 14.74 MB / 499.8 MB, free: 100.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06909/0.73, allocations: 44.1 MB / 0.5311 GB, free: 58.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/0.7467, allocations: 9.185 MB / 0.5401 GB, free: 49.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004254/0.7509, allocations: 2.924 MB / 0.543 GB, free: 47.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.7513, allocations: 99.03 kB / 0.5431 GB, free: 46.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.779e-05/0.7514, allocations: 73.69 kB / 0.5431 GB, free: 46.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=398): time 9.198e-06/0.7514, allocations: 0 / 0.5431 GB, free: 46.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=404): time 0.03832/0.7897, allocations: 17.08 MB / 0.5598 GB, free: 30.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.7898, allocations: 102.6 kB / 0.5599 GB, free: 30.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/0.795, allocations: 3.588 MB / 0.5634 GB, free: 26.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006143/0.7957, allocations: 89.7 kB / 0.5635 GB, free: 26.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.7974, allocations: 4.127 MB / 0.5675 GB, free: 22.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.7987, allocations: 1.42 MB / 0.5689 GB, free: 21.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002154/0.8008, allocations: 1.144 MB / 0.57 GB, free: 19.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.8009, allocations: 309.1 kB / 0.5703 GB, free: 19.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003711/0.8046, allocations: 2.791 MB / 0.5731 GB, free: 16.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00454/0.8091, allocations: 4.982 MB / 0.5779 GB, free: 10.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008811/0.8179, allocations: 8.31 MB / 0.586 GB, free: 1.473 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.615e-05/0.818, allocations: 20 kB / 0.5861 GB, free: 1.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01764/0.8356, allocations: 9.053 MB / 0.5949 GB, free: 8.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.8357, allocations: 40.09 kB / 0.5949 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.8358, allocations: 72 kB / 0.595 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003605/0.8394, allocations: 1.189 MB / 0.5962 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/0.8447, allocations: 1.326 MB / 0.5975 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/0.8613, allocations: 9.458 MB / 0.6067 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/0.8656, allocations: 327.6 kB / 0.607 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009647/0.8666, allocations: 291.9 kB / 0.6073 GB, free: 11.59 MB / 462.1 MB 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.006702/0.8733, allocations: 3.716 MB / 0.6109 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.8744, allocations: 409.3 kB / 0.6113 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.8877, allocations: 6.602 MB / 0.6177 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01022/0.8979, allocations: 5.559 MB / 0.6232 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.8979, allocations: 12 kB / 0.6232 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.341e-05/0.898, allocations: 19.92 kB / 0.6232 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02866/0.9266, allocations: 13.44 MB / 0.6363 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.9267, allocations: 8.031 kB / 0.6363 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003246/0.9299, allocations: 0.7255 MB / 0.6371 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.9333, allocations: 1.076 MB / 0.6381 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003762/0.9336, allocations: 91.97 kB / 0.6382 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/0.948, allocations: 8.41 MB / 0.6464 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.948, allocations: 11.94 kB / 0.6464 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1896/1.138, allocations: 9.778 MB / 0.656 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/1.14, allocations: 0.8873 MB / 0.6568 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/1.141, allocations: 81.25 kB / 0.6569 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.143, allocations: 199.4 kB / 0.6571 GB, free: 155.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000733/1.143, allocations: 305.3 kB / 0.6574 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/1.144, allocations: 130.8 kB / 0.6575 GB, free: 155 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003133/1.147, allocations: 2.327 MB / 0.6598 GB, free: 154.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.147, allocations: 0 / 0.6598 GB, free: 154.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005185/1.152, allocations: 1.606 MB / 0.6614 GB, free: 154 MB / 494.1 MB 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.0005816/1.153, allocations: 278.5 kB / 0.6616 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009895/1.162, allocations: 6.854 MB / 0.6683 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.162, allocations: 6.406 kB / 0.6683 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004989/1.167, allocations: 3.159 MB / 0.6714 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/1.172, allocations: 0.8719 MB / 0.6723 GB, free: 149.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.194, allocations: 16.59 MB / 0.6885 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004947/1.199, allocations: 5.739 MB / 0.6941 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004149/1.203, allocations: 1.889 MB / 0.6959 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.204, allocations: 354.6 kB / 0.6962 GB, free: 136.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.873e-06/1.204, allocations: 4 kB / 0.6963 GB, free: 136.2 MB / 494.1 MB Notification: Performance of Templates: time 0.09249/1.297, allocations: 60.18 MB / 0.755 GB, free: 78.21 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.587695624679327]