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.IMS_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.001075/0.001075, allocations: 80.39 kB / 22.21 MB, free: 2.285 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.0009315/0.0009315, allocations: 168.3 kB / 25.61 MB, free: 8.586 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.9557/0.9557, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 251.5 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.748e-05, allocations: 2.312 kB / 251.5 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0199/0.01993, allocations: 25.41 MB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.03597, allocations: 7.884 MB / 284.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005278/0.04125, allocations: 195 kB / 285 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.05343, allocations: 9.698 MB / 294.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00881/0.06224, allocations: 3.492 MB / 298.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.06583, allocations: 1.839 MB / 300 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01263/0.07846, allocations: 12.81 MB / 312.8 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01927/0.09773, allocations: 15.95 MB / 328.8 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0126/0.1103, allocations: 9.899 MB / 338.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008608/0.1189, allocations: 7.256 MB / 345.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002974/0.1219, allocations: 1.84 MB / 347.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.1253, allocations: 2.218 MB / 350 MB, free: 4.242 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002169/0.1274, allocations: 3.803 MB / 353.8 MB, free: 440 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1703/0.2977, allocations: 4.734 MB / 358.5 MB, free: 45.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.3118, allocations: 11.89 MB / 370.4 MB, free: 44.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3118, allocations: 0 / 370.4 MB, free: 44.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3118, allocations: 0 / 370.4 MB, free: 44.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006574/0.3125, allocations: 0 / 370.4 MB, free: 44.7 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.02514/0.3376, allocations: 14.72 MB / 385.1 MB, free: 39.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3377, allocations: 17.88 kB / 385.2 MB, free: 39.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02408/0.3618, allocations: 8.584 MB / 393.7 MB, free: 37.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/0.3729, allocations: 5.98 MB / 399.7 MB, free: 34.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006109/0.3735, allocations: 0.8164 MB / 400.5 MB, free: 33.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003815/0.3773, allocations: 1.084 MB / 401.6 MB, free: 32.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.3947, allocations: 9.072 MB / 410.7 MB, free: 24.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.3949, allocations: 15.77 kB / 410.7 MB, free: 24.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008025/0.3957, allocations: 455.7 kB / 411.2 MB, free: 23.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004463/0.3962, allocations: 0.6944 MB / 411.8 MB, free: 23.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007573/0.4038, allocations: 4.566 MB / 416.4 MB, free: 18.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05616/0.4599, allocations: 45.9 MB / 462.3 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.4714, allocations: 11.13 MB / 473.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.4732, allocations: 1.555 MB / 475 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.4844, allocations: 7.091 MB / 482.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.94e-05/0.4845, allocations: 76.41 kB / 482.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=385): time 5.34e-06/0.4845, allocations: 4 kB / 482.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=391): time 0.01947/0.504, allocations: 9.677 MB / 491.8 MB, free: 11.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.504, allocations: 94.12 kB / 491.9 MB, free: 11.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/0.5081, allocations: 3.811 MB / 495.7 MB, free: 8.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.5082, allocations: 97.7 kB / 495.8 MB, free: 8.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002738/0.511, allocations: 5.289 MB / 0.4894 GB, free: 2.945 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008909/0.5119, allocations: 1.454 MB / 0.4908 GB, free: 1.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/0.5134, allocations: 1.429 MB / 0.4922 GB, free: 260 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.1723/0.6858, allocations: 478.7 kB / 0.4927 GB, free: 101.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00324/0.689, allocations: 0.7524 MB / 0.4934 GB, free: 101.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/0.6921, allocations: 4.723 MB / 0.498 GB, free: 97.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/0.6976, allocations: 6.145 MB / 0.504 GB, free: 92.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-05/0.6977, allocations: 25.09 kB / 0.504 GB, free: 92.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.0104/0.7081, allocations: 5.487 MB / 0.5094 GB, free: 92.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.7082, allocations: 47.08 kB / 0.5094 GB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.7083, allocations: 87.31 kB / 0.5095 GB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.7108, allocations: 1.258 MB / 0.5107 GB, free: 92.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.7132, allocations: 1.327 MB / 0.512 GB, free: 92.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/0.7195, allocations: 6.401 MB / 0.5183 GB, free: 90.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.722, allocations: 258 kB / 0.5185 GB, free: 90.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/0.7223, allocations: 279.5 kB / 0.5188 GB, free: 90.01 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002339/0.7246, allocations: 0.5794 MB / 0.5194 GB, free: 89.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000697/0.7253, allocations: 0.5594 MB / 0.5199 GB, free: 89.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.7299, allocations: 3.62 MB / 0.5235 GB, free: 89.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002968/0.7329, allocations: 2.44 MB / 0.5258 GB, free: 89.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7329, allocations: 11.06 kB / 0.5258 GB, free: 89.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.7329, allocations: 18.66 kB / 0.5259 GB, free: 89.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.7483, allocations: 10.91 MB / 0.5365 GB, free: 86.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.7483, allocations: 4.094 kB / 0.5365 GB, free: 86.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.7498, allocations: 0.6037 MB / 0.5371 GB, free: 85.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.7519, allocations: 1.108 MB / 0.5382 GB, free: 85.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002086/0.7521, allocations: 86.45 kB / 0.5383 GB, free: 85.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005701/0.7578, allocations: 5.861 MB / 0.544 GB, free: 81.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7578, allocations: 0 / 0.544 GB, free: 81.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005334/0.7632, allocations: 4.115 MB / 0.548 GB, free: 78.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.7645, allocations: 0.8109 MB / 0.5488 GB, free: 77.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.7648, allocations: 68.5 kB / 0.5489 GB, free: 77.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.7659, allocations: 120.2 kB / 0.549 GB, free: 77.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.7662, allocations: 291.8 kB / 0.5493 GB, free: 77.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.7664, allocations: 82.88 kB / 0.5493 GB, free: 77.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.7682, allocations: 1.621 MB / 0.5509 GB, free: 76.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.7682, allocations: 0 / 0.5509 GB, free: 76.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005272/0.7735, allocations: 1.815 MB / 0.5527 GB, free: 74.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004859/0.7739, allocations: 270.2 kB / 0.553 GB, free: 74.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00514/0.7791, allocations: 4.089 MB / 0.5569 GB, free: 71.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7791, allocations: 4 kB / 0.557 GB, free: 71.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.7813, allocations: 2.003 MB / 0.5589 GB, free: 69.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.7838, allocations: 1.002 MB / 0.5599 GB, free: 68.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.8028, allocations: 15.76 MB / 0.5753 GB, free: 52.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.8048, allocations: 2.967 MB / 0.5782 GB, free: 49.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002225/0.807, allocations: 0.7637 MB / 0.5789 GB, free: 49.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.8087, allocations: 1.052 MB / 0.5799 GB, free: 47.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8087, allocations: 0 / 0.5799 GB, free: 47.96 MB / 394.7 MB Notification: Performance of Templates: time 0.2241/1.033, allocations: 69.41 MB / 0.6477 GB, free: 116.6 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_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: 4.811591790057719]