Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001522/0.001522, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001792/0.001792, allocations: 169.3 kB / 24.27 MB, free: 140 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 272.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.575e-05, allocations: 2.312 kB / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.145/0.145, allocations: 23.24 MB / 295.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.1587, allocations: 7.885 MB / 303.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004492/0.1632, allocations: 236.4 kB / 303.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01867/0.1819, allocations: 9.234 MB / 312.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009825/0.1917, allocations: 3.439 MB / 316.4 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.1963, allocations: 1.813 MB / 318.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01617/0.2124, allocations: 12.77 MB / 331 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0285/0.2409, allocations: 15.88 MB / 346.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01956/0.2605, allocations: 9.731 MB / 356.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01281/0.2733, allocations: 6.276 MB / 362.9 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004712/0.278, allocations: 1.836 MB / 364.7 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0068/0.2848, allocations: 2.226 MB / 366.9 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005176/0.29, allocations: 3.674 MB / 370.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009272/0.2993, allocations: 4.628 MB / 375.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0331/0.3324, allocations: 25.13 MB / 400.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3324, allocations: 0 / 400.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3324, allocations: 8 kB / 400.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005216/0.3329, allocations: 0 / 400.3 MB, free: 1.93 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04444/0.3773, allocations: 14.55 MB / 414.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3774, allocations: 8.031 kB / 414.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05233/0.4297, allocations: 10.36 MB / 425.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/0.4498, allocations: 8.133 MB / 433.4 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2302/0.68, allocations: 0.7996 MB / 434.2 MB, free: 105.3 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00394/0.6839, allocations: 1.06 MB / 435.3 MB, free: 105.3 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03631/0.7202, allocations: 18.55 MB / 453.8 MB, free: 98.68 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000375/0.7206, allocations: 17.41 kB / 453.8 MB, free: 98.67 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002868/0.7235, allocations: 447.9 kB / 454.3 MB, free: 98.34 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006341/0.7241, allocations: 0.6709 MB / 454.9 MB, free: 98.27 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0315/0.7556, allocations: 17.48 MB / 472.4 MB, free: 84.08 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07422/0.8298, allocations: 51.72 MB / 0.5119 GB, free: 32.35 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02587/0.8557, allocations: 12.71 MB / 0.5243 GB, free: 21.68 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008696/0.8644, allocations: 3.741 MB / 0.5279 GB, free: 17.93 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.865, allocations: 159.9 kB / 0.5281 GB, free: 17.77 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.005e-05/0.8651, allocations: 86.62 kB / 0.5282 GB, free: 17.67 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 1.503e-05/0.8651, allocations: 0 / 0.5282 GB, free: 17.67 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.06566/0.9308, allocations: 21.44 MB / 0.5491 GB, free: 12.46 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.9309, allocations: 103.5 kB / 0.5492 GB, free: 12.35 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009393/0.9403, allocations: 4 MB / 0.5531 GB, free: 8.465 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009705/0.9413, allocations: 117.7 kB / 0.5532 GB, free: 8.344 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00562/0.9469, allocations: 4.664 MB / 0.5578 GB, free: 3.848 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003272/0.9502, allocations: 1.846 MB / 0.5596 GB, free: 2.027 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00364/0.9538, allocations: 1.351 MB / 0.5609 GB, free: 0.668 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.954, allocations: 305.1 kB / 0.5612 GB, free: 376 kB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008452/0.9625, allocations: 3.433 MB / 0.5645 GB, free: 12.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009156/0.9716, allocations: 5.902 MB / 0.5703 GB, free: 5.93 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1492/1.121, allocations: 10.01 MB / 0.5801 GB, free: 117.3 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.417e-05/1.121, allocations: 25.16 kB / 0.5801 GB, free: 117.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01967/1.141, allocations: 11.22 MB / 0.591 GB, free: 113.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.141, allocations: 39.34 kB / 0.5911 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/1.141, allocations: 80.38 kB / 0.5912 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004376/1.145, allocations: 1.625 MB / 0.5927 GB, free: 112.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/1.151, allocations: 1.612 MB / 0.5943 GB, free: 112.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/1.165, allocations: 11.01 MB / 0.6051 GB, free: 107 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004581/1.17, allocations: 403.3 kB / 0.6054 GB, free: 106.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.171, allocations: 343.9 kB / 0.6058 GB, free: 106.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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 prepare postOptimizeDAE: time 0.006025/1.177, allocations: 4.159 MB / 0.6098 GB, free: 104.8 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.178, allocations: 0.6356 MB / 0.6105 GB, free: 104.8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.191, allocations: 8.376 MB / 0.6186 GB, free: 100.6 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01011/1.202, allocations: 7.034 MB / 0.6255 GB, free: 94.54 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/1.202, allocations: 12 kB / 0.6255 GB, free: 94.52 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.459e-05/1.202, allocations: 25.69 kB / 0.6255 GB, free: 94.52 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.228, allocations: 16.15 MB / 0.6413 GB, free: 79.89 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/1.228, allocations: 7.984 kB / 0.6413 GB, free: 79.88 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003533/1.231, allocations: 0.9361 MB / 0.6422 GB, free: 78.94 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003893/1.235, allocations: 1.468 MB / 0.6437 GB, free: 77.46 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004712/1.236, allocations: 112 kB / 0.6438 GB, free: 77.36 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/1.247, allocations: 9.73 MB / 0.6533 GB, free: 67.67 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.247, allocations: 3.938 kB / 0.6533 GB, free: 67.67 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/1.263, allocations: 12.38 MB / 0.6654 GB, free: 55.21 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/1.266, allocations: 1.096 MB / 0.6664 GB, free: 54.11 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007223/1.266, allocations: 95.98 kB / 0.6665 GB, free: 54.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.269, allocations: 271.8 kB / 0.6668 GB, free: 53.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007554/1.269, allocations: 372.3 kB / 0.6671 GB, free: 53.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003043/1.27, allocations: 155.9 kB / 0.6673 GB, free: 53.23 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003046/1.273, allocations: 2.579 MB / 0.6698 GB, free: 50.67 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/1.273, allocations: 0 / 0.6698 GB, free: 50.67 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006306/1.279, allocations: 1.922 MB / 0.6717 GB, free: 48.75 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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.0007156/1.28, allocations: 306.1 kB / 0.672 GB, free: 48.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0118/1.292, allocations: 8.369 MB / 0.6802 GB, free: 40.03 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.292, allocations: 0 / 0.6802 GB, free: 40.03 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005888/1.297, allocations: 3.891 MB / 0.684 GB, free: 36.12 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00472/1.302, allocations: 1.051 MB / 0.685 GB, free: 35.14 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/1.33, allocations: 19.67 MB / 0.7042 GB, free: 15.31 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006147/1.336, allocations: 6.581 MB / 0.7106 GB, free: 8.672 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005269/1.341, allocations: 2.292 MB / 0.7129 GB, free: 6.371 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1.343, allocations: 432.4 kB / 0.7133 GB, free: 5.949 MB / 410.8 MB Notification: Performance of SimCode: time 1.273e-06/1.343, allocations: 4 kB / 0.7133 GB, free: 5.945 MB / 410.8 MB Notification: Performance of Templates: time 0.2596/1.602, allocations: 71.79 MB / 0.7834 GB, free: 100.9 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.255822047009133]