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.0012/0.0012, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.004316/0.004316, allocations: 171.3 kB / 25.33 MB, free: 9.449 MB / 18.57 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 0.9084/0.9084, allocations: 158.6 MB / 187.2 MB, free: 2.566 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 251.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.886e-05, allocations: 2.312 kB / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01997/0.02, allocations: 24.43 MB / 275.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.03635, allocations: 7.292 MB / 282.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.04141, allocations: 187 kB / 283 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.05281, allocations: 9.428 MB / 292.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008237/0.06105, allocations: 3.088 MB / 295.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.06415, allocations: 1.753 MB / 297.3 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1615/0.2257, allocations: 11.33 MB / 308.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02189/0.2475, allocations: 14.28 MB / 322.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01264/0.2602, allocations: 8.783 MB / 331.6 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006978/0.2672, allocations: 6.159 MB / 337.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003173/0.2703, allocations: 1.682 MB / 339.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.2729, allocations: 2.051 MB / 341.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.2745, allocations: 3.34 MB / 344.9 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007542/0.282, allocations: 4.404 MB / 349.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.2947, allocations: 10.52 MB / 359.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2947, allocations: 0 / 359.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.2947, allocations: 0 / 359.8 MB, free: 5.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0005401/0.2952, allocations: 1.906 kB / 359.8 MB, free: 5.5 MB / 298.7 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.02043/0.3157, allocations: 13.84 MB / 373.7 MB, free: 7.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3157, allocations: 15.98 kB / 373.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02106/0.3368, allocations: 8.94 MB / 382.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.3473, allocations: 5.812 MB / 388.4 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004854/0.3478, allocations: 0.715 MB / 389.1 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002126/0.35, allocations: 0.9373 MB / 390.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.3643, allocations: 8.471 MB / 398.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/0.3644, allocations: 15.94 kB / 398.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006709/0.3651, allocations: 394.3 kB / 398.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000543/0.3656, allocations: 0.5747 MB / 399.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.3757, allocations: 4.852 MB / 404.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.338/0.7137, allocations: 41.32 MB / 445.7 MB, free: 72.34 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.7323, allocations: 9.947 MB / 455.6 MB, free: 71.91 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/0.7356, allocations: 1.423 MB / 457.1 MB, free: 71.85 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.7462, allocations: 6.136 MB / 463.2 MB, free: 71.43 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.7463, allocations: 66.47 kB / 463.3 MB, free: 71.38 MB / 378.8 MB Notification: Performance of pre-optimization done (n=297): time 7.083e-06/0.7463, allocations: 3.984 kB / 463.3 MB, free: 71.38 MB / 378.8 MB Notification: Performance of matching and sorting (n=303): time 0.01894/0.7652, allocations: 9.347 MB / 472.6 MB, free: 69.9 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.7653, allocations: 80.97 kB / 472.7 MB, free: 69.84 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/0.7693, allocations: 3.471 MB / 476.2 MB, free: 69.39 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002917/0.7696, allocations: 74.05 kB / 476.2 MB, free: 69.36 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002157/0.7718, allocations: 4.658 MB / 480.9 MB, free: 67.32 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008671/0.7727, allocations: 1.132 MB / 482 MB, free: 66.62 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.7738, allocations: 1.214 MB / 483.2 MB, free: 66.51 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.7739, allocations: 477.5 kB / 483.7 MB, free: 66.04 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.7752, allocations: 0.8019 MB / 484.5 MB, free: 66.03 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.7776, allocations: 4.356 MB / 488.9 MB, free: 61.67 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/0.7819, allocations: 5.651 MB / 494.5 MB, free: 57.25 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.742e-05/0.782, allocations: 23.69 kB / 494.5 MB, free: 57.25 MB / 378.8 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007247/0.7892, allocations: 5.176 MB / 499.7 MB, free: 56.82 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.7893, allocations: 39.28 kB / 499.8 MB, free: 56.82 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.935e-05/0.7893, allocations: 79.25 kB / 499.8 MB, free: 56.82 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/0.7916, allocations: 1.142 MB / 0.4892 GB, free: 56.77 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.7939, allocations: 1.218 MB / 0.4904 GB, free: 56.76 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007032/0.8009, allocations: 6.062 MB / 0.4963 GB, free: 54.56 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/0.8041, allocations: 331.7 kB / 0.4967 GB, free: 54.54 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/0.8044, allocations: 287.4 kB / 0.4969 GB, free: 54.54 MB / 378.8 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.002415/0.8069, allocations: 0.5258 MB / 0.4974 GB, free: 54.33 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008024/0.8077, allocations: 477.9 kB / 0.4979 GB, free: 54.12 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/0.8124, allocations: 3.212 MB / 0.501 GB, free: 53.51 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003232/0.8156, allocations: 2.258 MB / 0.5032 GB, free: 51.97 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.8157, allocations: 8 kB / 0.5032 GB, free: 51.96 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.8157, allocations: 15.19 kB / 0.5033 GB, free: 51.96 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.8321, allocations: 9.75 MB / 0.5128 GB, free: 45.66 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.8321, allocations: 6.25 kB / 0.5128 GB, free: 45.66 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.8334, allocations: 0.5543 MB / 0.5133 GB, free: 45.23 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.8355, allocations: 1.018 MB / 0.5143 GB, free: 44.49 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001859/0.8357, allocations: 71.84 kB / 0.5144 GB, free: 44.42 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006131/0.8419, allocations: 5.565 MB / 0.5198 GB, free: 39.1 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8419, allocations: 4 kB / 0.5198 GB, free: 39.1 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006296/0.8482, allocations: 3.935 MB / 0.5237 GB, free: 35.05 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/0.85, allocations: 0.7431 MB / 0.5244 GB, free: 34.31 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005038/0.8505, allocations: 52 kB / 0.5245 GB, free: 34.26 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.8516, allocations: 179.8 kB / 0.5246 GB, free: 34.09 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004701/0.8521, allocations: 247.1 kB / 0.5249 GB, free: 33.85 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.8522, allocations: 95.98 kB / 0.5249 GB, free: 33.75 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002659/0.8549, allocations: 1.569 MB / 0.5265 GB, free: 32.2 MB / 378.8 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8549, allocations: 0 / 0.5265 GB, free: 32.2 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005148/0.86, allocations: 1.543 MB / 0.528 GB, free: 30.65 MB / 378.8 MB 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.0005394/0.8606, allocations: 233.3 kB / 0.5282 GB, free: 30.44 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006043/0.8666, allocations: 3.82 MB / 0.5319 GB, free: 26.82 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.8666, allocations: 0 / 0.5319 GB, free: 26.82 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/0.8693, allocations: 1.843 MB / 0.5337 GB, free: 25.02 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/0.8728, allocations: 0.8711 MB / 0.5346 GB, free: 24.18 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/0.8956, allocations: 13.78 MB / 0.548 GB, free: 10.27 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004398/0.9, allocations: 2.591 MB / 0.5506 GB, free: 7.641 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.005135/0.9052, allocations: 1.603 MB / 0.5521 GB, free: 6.031 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.9064, allocations: 300.4 kB / 0.5524 GB, free: 5.738 MB / 378.8 MB Notification: Performance of SimCode: time 4.519e-06/0.9064, allocations: 0 / 0.5524 GB, free: 5.738 MB / 378.8 MB Notification: Performance of Templates: time 0.2344/1.141, allocations: 54.28 MB / 0.6054 GB, free: 110.5 MB / 410.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.037926285061985]