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.001411/0.001411, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002056/0.003468, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0011/0.0011, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002609, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.159/1.159, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2117/1.371, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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 2.114e-06/2.114e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.943e-05, allocations: 6.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0209/0.02093, allocations: 25.63 MB / 247.6 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02091/0.04184, allocations: 8.355 MB / 256 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006917/0.04876, allocations: 202.9 kB / 256.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.06096, allocations: 9.951 MB / 266.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01687/0.07783, allocations: 3.48 MB / 269.6 MB, free: 216 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008545/0.08638, allocations: 1.847 MB / 271.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02199/0.1084, allocations: 12.89 MB / 284.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2503/0.3587, allocations: 15.95 MB / 300.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01962/0.3783, allocations: 10.23 MB / 310.5 MB, free: 104 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01752/0.3959, allocations: 7.729 MB / 318.3 MB, free: 0 / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00638/0.4022, allocations: 1.842 MB / 320.1 MB, free: 0 / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00624/0.4085, allocations: 2.242 MB / 322.4 MB, free: 0 / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007901/0.4164, allocations: 3.732 MB / 326.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006018/0.4224, allocations: 3.961 MB / 330.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.4345, allocations: 11.2 MB / 341.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.616e-05/0.4346, allocations: 0 / 341.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4346, allocations: 4 kB / 341.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0006955/0.4353, allocations: 0 / 341.3 MB, free: 1.715 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03072/0.466, allocations: 16.1 MB / 357.4 MB, free: 2.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.466, allocations: 8.031 kB / 357.4 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02619/0.4922, allocations: 9.13 MB / 366.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.5037, allocations: 3.486 MB / 370 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000592/0.5043, allocations: 0.8138 MB / 370.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/0.5068, allocations: 1.088 MB / 371.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.5216, allocations: 9.273 MB / 381.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001889/0.5217, allocations: 7.953 kB / 381.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009471/0.5227, allocations: 456.6 kB / 381.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000534/0.5232, allocations: 0.6715 MB / 382.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00795/0.5312, allocations: 4.954 MB / 387.2 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04698/0.5781, allocations: 35.28 MB / 422.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2013/0.7794, allocations: 8.164 MB / 430.7 MB, free: 80.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.7828, allocations: 1.337 MB / 432 MB, free: 80.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.7936, allocations: 5.475 MB / 437.5 MB, free: 79.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.7936, allocations: 80.33 kB / 437.6 MB, free: 79.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=385): time 7.003e-06/0.7936, allocations: 0 / 437.6 MB, free: 79.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=391): time 0.01998/0.8136, allocations: 9.87 MB / 447.4 MB, free: 78.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.8137, allocations: 95 kB / 447.5 MB, free: 78.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.8167, allocations: 2.799 MB / 450.3 MB, free: 78.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.8169, allocations: 85.42 kB / 450.4 MB, free: 78.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/0.8187, allocations: 4.606 MB / 455 MB, free: 75.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008084/0.8195, allocations: 1.399 MB / 456.4 MB, free: 74.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/0.8209, allocations: 1.166 MB / 457.6 MB, free: 74.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.8209, allocations: 308.8 kB / 457.9 MB, free: 74.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.8221, allocations: 0.8799 MB / 458.8 MB, free: 74.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.8241, allocations: 3.309 MB / 462.1 MB, free: 70.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.8283, allocations: 5.134 MB / 467.2 MB, free: 67.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-05/0.8284, allocations: 23.78 kB / 467.2 MB, free: 67.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.005681/0.834, allocations: 4.491 MB / 471.7 MB, free: 67.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.8341, allocations: 47.59 kB / 471.8 MB, free: 67.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.435e-05/0.8342, allocations: 88.25 kB / 471.9 MB, free: 67.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.8363, allocations: 1.202 MB / 473.1 MB, free: 67.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.8391, allocations: 1.499 MB / 474.6 MB, free: 67.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.8448, allocations: 5.063 MB / 479.6 MB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.847, allocations: 256.8 kB / 479.9 MB, free: 65.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/0.8473, allocations: 274 kB / 480.1 MB, free: 65.68 MB / 378.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.00233/0.8496, allocations: 0.5456 MB / 480.7 MB, free: 65.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.8502, allocations: 374 kB / 481.1 MB, free: 65.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.8542, allocations: 3.018 MB / 484.1 MB, free: 64.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002307/0.8565, allocations: 1.884 MB / 486 MB, free: 62.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.8565, allocations: 19.75 kB / 486 MB, free: 62.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/0.8565, allocations: 18.42 kB / 486 MB, free: 62.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009988/0.8665, allocations: 7.88 MB / 493.9 MB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.8665, allocations: 4 kB / 493.9 MB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.8681, allocations: 0.6861 MB / 494.6 MB, free: 57.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000938/0.869, allocations: 0.5402 MB / 495.1 MB, free: 57.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.8709, allocations: 1.061 MB / 496.2 MB, free: 56.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.871, allocations: 73.91 kB / 496.2 MB, free: 56.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/0.8757, allocations: 4.602 MB / 0.4891 GB, free: 52.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8757, allocations: 11.28 kB / 0.4891 GB, free: 52.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.8797, allocations: 3.373 MB / 0.4924 GB, free: 49.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/0.88, allocations: 79.92 kB / 0.4925 GB, free: 49.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/0.8809, allocations: 116 kB / 0.4926 GB, free: 48.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003633/0.8812, allocations: 283.3 kB / 0.4929 GB, free: 48.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.8814, allocations: 75.98 kB / 0.4929 GB, free: 48.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.8824, allocations: 1.269 MB / 0.4942 GB, free: 47.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8824, allocations: 0 / 0.4942 GB, free: 47.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004486/0.8869, allocations: 1.816 MB / 0.4959 GB, free: 45.68 MB / 378.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.00052/0.8874, allocations: 238.4 kB / 0.4962 GB, free: 45.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004186/0.8916, allocations: 3.656 MB / 0.4997 GB, free: 42.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001507/0.8918, allocations: 116.7 kB / 0.4999 GB, free: 42.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.8941, allocations: 2.249 MB / 0.5021 GB, free: 39.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.8974, allocations: 8.202 MB / 0.5101 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0638/0.9612, allocations: 16.29 MB / 0.526 GB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002226/0.9635, allocations: 2.156 MB / 0.5281 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00271/0.9662, allocations: 0.7559 MB / 0.5288 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/0.968, allocations: 0.9481 MB / 0.5297 GB, free: 10.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.734e-06/0.968, allocations: 0 / 0.5297 GB, free: 10.04 MB / 378.7 MB Notification: Performance of Templates: time 0.2618/1.23, allocations: 73.33 MB / 0.6014 GB, free: 101.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.971017896197736]