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.001328/0.001328, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002019/0.002019, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.461/1.461, allocations: 230.3 MB / 258 MB, free: 8.449 MB / 206.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 0.00203/0.00203, allocations: 59.91 kB / 378.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2444, allocations: 53.37 MB / 432.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02863/0.273, allocations: 24.95 MB / 457.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.2897, allocations: 7.5 MB / 464.6 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005716/0.2954, allocations: 222.9 kB / 464.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02154/0.3169, allocations: 8.916 MB / 473.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009584/0.3265, allocations: 3.035 MB / 476.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004967/0.3315, allocations: 1.782 MB / 478.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.346, allocations: 10.97 MB / 489.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02333/0.3693, allocations: 13.47 MB / 0.4912 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01/0.3793, allocations: 5.865 MB / 0.4969 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01071/0.39, allocations: 6.374 MB / 0.5032 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003873/0.3939, allocations: 1.668 MB / 0.5048 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005041/0.3989, allocations: 2.062 MB / 0.5068 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003373/0.4023, allocations: 3.168 MB / 0.5099 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008262/0.4106, allocations: 6.09 MB / 0.5158 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02702/0.4376, allocations: 22.4 MB / 0.5377 GB, free: 200 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4376, allocations: 4 kB / 0.5377 GB, free: 196 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4376, allocations: 0 / 0.5377 GB, free: 196 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005854/0.4382, allocations: 0 / 0.5377 GB, free: 196 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.2602/0.6984, allocations: 12.89 MB / 0.5503 GB, free: 86.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6985, allocations: 11.75 kB / 0.5503 GB, free: 86.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03517/0.7336, allocations: 6.179 MB / 0.5563 GB, free: 83.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/0.7489, allocations: 7.012 MB / 0.5632 GB, free: 76.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005713/0.7495, allocations: 0.7019 MB / 0.5639 GB, free: 75.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0036/0.7531, allocations: 0.9133 MB / 0.5648 GB, free: 74.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03586/0.7889, allocations: 15.78 MB / 0.5802 GB, free: 59.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000432/0.7894, allocations: 19.89 kB / 0.5802 GB, free: 59.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003118/0.7925, allocations: 387.3 kB / 0.5806 GB, free: 58.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005199/0.793, allocations: 0.5547 MB / 0.5811 GB, free: 58.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02856/0.8216, allocations: 14.81 MB / 0.5956 GB, free: 43.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08127/0.9028, allocations: 49.91 MB / 0.6443 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02073/0.9236, allocations: 9.307 MB / 0.6534 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006031/0.9296, allocations: 2.932 MB / 0.6563 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.9301, allocations: 126.9 kB / 0.6564 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.26e-05/0.9302, allocations: 73.69 kB / 0.6565 GB, free: 13.13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 1.055e-05/0.9302, allocations: 0 / 0.6565 GB, free: 13.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04636/0.9766, allocations: 17.26 MB / 0.6733 GB, free: 11.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.9767, allocations: 94.58 kB / 0.6734 GB, free: 11.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007759/0.9844, allocations: 3.701 MB / 0.677 GB, free: 8.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008662/0.9853, allocations: 89.7 kB / 0.6771 GB, free: 7.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003456/0.9888, allocations: 4.123 MB / 0.6811 GB, free: 3.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001995/0.9908, allocations: 1.453 MB / 0.6825 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003262/0.994, allocations: 1.148 MB / 0.6837 GB, free: 1.125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9941, allocations: 305.1 kB / 0.684 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005281/0.9994, allocations: 2.807 MB / 0.6867 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007204/1.007, allocations: 4.957 MB / 0.6915 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.019, allocations: 8.333 MB / 0.6997 GB, free: 14.73 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.788e-05/1.019, allocations: 20 kB / 0.6997 GB, free: 14.71 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01844/1.038, allocations: 9.102 MB / 0.7086 GB, free: 5.582 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.064e-05/1.038, allocations: 36 kB / 0.7086 GB, free: 5.547 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.038, allocations: 68 kB / 0.7087 GB, free: 5.48 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/1.042, allocations: 1.229 MB / 0.7099 GB, free: 4.25 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/1.047, allocations: 1.33 MB / 0.7112 GB, free: 2.918 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/1.066, allocations: 9.821 MB / 0.7208 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004695/1.071, allocations: 327.6 kB / 0.7211 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/1.072, allocations: 292 kB / 0.7214 GB, free: 8.367 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.007546/1.079, allocations: 3.697 MB / 0.725 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.081, allocations: 425.2 kB / 0.7254 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.095, allocations: 6.665 MB / 0.7319 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01042/1.105, allocations: 5.587 MB / 0.7373 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/1.105, allocations: 8 kB / 0.7374 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.736e-05/1.105, allocations: 23.86 kB / 0.7374 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4666/1.572, allocations: 15.77 MB / 0.7528 GB, free: 176.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.572, allocations: 3.688 kB / 0.7528 GB, free: 176.2 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/1.575, allocations: 0.7228 MB / 0.7535 GB, free: 176.1 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/1.578, allocations: 1.113 MB / 0.7546 GB, free: 175.9 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/1.578, allocations: 97.17 kB / 0.7547 GB, free: 175.9 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/1.589, allocations: 8.749 MB / 0.7632 GB, free: 171.2 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.589, allocations: 11.03 kB / 0.7632 GB, free: 171.2 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.603, allocations: 9.859 MB / 0.7729 GB, free: 167.1 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002723/1.606, allocations: 0.9191 MB / 0.7738 GB, free: 166.9 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006845/1.607, allocations: 74.91 kB / 0.7738 GB, free: 166.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.609, allocations: 199.9 kB / 0.774 GB, free: 166.7 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/1.609, allocations: 305.6 kB / 0.7743 GB, free: 166.7 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.61, allocations: 121.5 kB / 0.7744 GB, free: 166.7 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003419/1.613, allocations: 2.498 MB / 0.7769 GB, free: 165.7 MB / 0.5451 GB Notification: Performance of sort global known variables: time 9e-08/1.613, allocations: 0 / 0.7769 GB, free: 165.7 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.006125/1.619, allocations: 1.611 MB / 0.7784 GB, free: 165.4 MB / 0.5451 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.0007926/1.62, allocations: 275.9 kB / 0.7787 GB, free: 165.1 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.631, allocations: 6.871 MB / 0.7854 GB, free: 159.2 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.631, allocations: 3.938 kB / 0.7854 GB, free: 159.2 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.005104/1.636, allocations: 3.179 MB / 0.7885 GB, free: 156.5 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004564/1.64, allocations: 0.9739 MB / 0.7895 GB, free: 155.7 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/1.664, allocations: 16.72 MB / 0.8058 GB, free: 140 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004942/1.669, allocations: 6.195 MB / 0.8118 GB, free: 133.7 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.004184/1.673, allocations: 1.912 MB / 0.8137 GB, free: 131.8 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009258/1.674, allocations: 367.3 kB / 0.8141 GB, free: 131.5 MB / 0.5451 GB Notification: Performance of SimCode: time 6.92e-07/1.674, allocations: 0 / 0.8141 GB, free: 131.5 MB / 0.5451 GB Notification: Performance of Templates: time 0.1014/1.775, allocations: 72.13 MB / 0.8845 GB, free: 59.86 MB / 0.5451 GB " [Timeout remaining time 658] 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: 8.194740322418511]