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.001898/0.001898, allocations: 82.27 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002309/0.002309, allocations: 163.1 kB / 23.95 MB, free: 4.168 MB / 14.72 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.468/1.468, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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 2.365e-06/2.365e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.998e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.05335/0.05338, allocations: 23.24 MB / 348.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02473/0.07811, allocations: 7.86 MB / 356.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005607/0.08372, allocations: 234.8 kB / 356.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02319/0.1069, allocations: 9.251 MB / 365.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.1193, allocations: 3.444 MB / 369.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006599/0.1259, allocations: 1.807 MB / 371 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01997/0.1459, allocations: 12.78 MB / 383.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03404/0.1799, allocations: 15.88 MB / 399.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02109/0.201, allocations: 9.731 MB / 409.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01344/0.2144, allocations: 6.268 MB / 415.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005905/0.2203, allocations: 1.832 MB / 417.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00737/0.2277, allocations: 2.237 MB / 419.7 MB, free: 6.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006039/0.2337, allocations: 3.674 MB / 423.4 MB, free: 2.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01368/0.2474, allocations: 4.632 MB / 428 MB, free: 13.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0368/0.2842, allocations: 25.11 MB / 453.1 MB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2842, allocations: 4 kB / 453.1 MB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2842, allocations: 0 / 453.1 MB, free: 4.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007028/0.2849, allocations: 0 / 453.1 MB, free: 4.676 MB / 414.1 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.04982/0.3347, allocations: 14.54 MB / 467.6 MB, free: 6.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3348, allocations: 8.031 kB / 467.7 MB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3589/0.6937, allocations: 8.449 MB / 476.1 MB, free: 111.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/0.7101, allocations: 7.807 MB / 483.9 MB, free: 108.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008237/0.7109, allocations: 0.8045 MB / 484.7 MB, free: 108.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004292/0.7152, allocations: 1.056 MB / 485.8 MB, free: 107.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04024/0.7554, allocations: 18.55 MB / 0.4925 GB, free: 96.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004176/0.7558, allocations: 15.91 kB / 0.4925 GB, free: 96.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003669/0.7595, allocations: 451.2 kB / 0.4929 GB, free: 96.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005365/0.76, allocations: 0.6711 MB / 0.4936 GB, free: 95.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03073/0.7908, allocations: 17.49 MB / 0.5107 GB, free: 78.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07516/0.8659, allocations: 50.34 MB / 0.5598 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/0.8852, allocations: 12.66 MB / 0.5722 GB, free: 16.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005025/0.8902, allocations: 3.727 MB / 0.5758 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004163/0.8906, allocations: 124 kB / 0.576 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.367e-05/0.8907, allocations: 90.62 kB / 0.5761 GB, free: 13.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=518): time 8.586e-06/0.8907, allocations: 4 kB / 0.5761 GB, free: 13 MB / 430.1 MB Notification: Performance of matching and sorting (n=524): time 0.04356/0.9343, allocations: 21.24 MB / 0.5968 GB, free: 7.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.9344, allocations: 103.5 kB / 0.5969 GB, free: 7.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005965/0.9403, allocations: 4.003 MB / 0.6008 GB, free: 3.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005133/0.9408, allocations: 109.7 kB / 0.6009 GB, free: 3.547 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003406/0.9442, allocations: 4.668 MB / 0.6055 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/0.9461, allocations: 1.838 MB / 0.6073 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002172/0.9483, allocations: 1.359 MB / 0.6086 GB, free: 11.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9484, allocations: 301.1 kB / 0.6089 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005517/0.9539, allocations: 3.441 MB / 0.6122 GB, free: 7.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007584/0.9615, allocations: 5.902 MB / 0.618 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/0.9763, allocations: 10.02 MB / 0.6278 GB, free: 5.754 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.299e-05/0.9764, allocations: 24 kB / 0.6278 GB, free: 5.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02013/0.9966, allocations: 10.87 MB / 0.6384 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.9966, allocations: 36 kB / 0.6385 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/0.9968, allocations: 80 kB / 0.6385 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003864/1.001, allocations: 1.38 MB / 0.6399 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006357/1.007, allocations: 1.622 MB / 0.6415 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1906/1.198, allocations: 10.92 MB / 0.6521 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005358/1.203, allocations: 399.2 kB / 0.6525 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/1.205, allocations: 338.5 kB / 0.6528 GB, free: 150.8 MB / 494.1 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.008103/1.213, allocations: 4.171 MB / 0.6569 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.214, allocations: 476 kB / 0.6574 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.228, allocations: 8.381 MB / 0.6655 GB, free: 146.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0103/1.238, allocations: 7.034 MB / 0.6724 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/1.238, allocations: 11.91 kB / 0.6724 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-05/1.238, allocations: 27 kB / 0.6725 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02595/1.264, allocations: 16.12 MB / 0.6882 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.264, allocations: 10.59 kB / 0.6882 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003617/1.268, allocations: 0.9438 MB / 0.6891 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002974/1.271, allocations: 1.228 MB / 0.6903 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004571/1.271, allocations: 118 kB / 0.6904 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/1.283, allocations: 9.65 MB / 0.6999 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.283, allocations: 2.375 kB / 0.6999 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.299, allocations: 12.21 MB / 0.7118 GB, free: 117.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/1.301, allocations: 1.1 MB / 0.7129 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007575/1.302, allocations: 92 kB / 0.713 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.304, allocations: 266 kB / 0.7132 GB, free: 116.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007509/1.305, allocations: 368.3 kB / 0.7136 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003008/1.305, allocations: 161.3 kB / 0.7137 GB, free: 115.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00302/1.308, allocations: 2.579 MB / 0.7162 GB, free: 113.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.308, allocations: 0 / 0.7162 GB, free: 113.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005563/1.314, allocations: 1.91 MB / 0.7181 GB, free: 111.4 MB / 494.1 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.0006615/1.315, allocations: 308.5 kB / 0.7184 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01157/1.326, allocations: 8.373 MB / 0.7266 GB, free: 102.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.326, allocations: 0 / 0.7266 GB, free: 102.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005892/1.332, allocations: 3.891 MB / 0.7304 GB, free: 98.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/1.337, allocations: 1.007 MB / 0.7313 GB, free: 97.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02607/1.363, allocations: 19.38 MB / 0.7503 GB, free: 78.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005751/1.369, allocations: 6.586 MB / 0.7567 GB, free: 71.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005052/1.374, allocations: 2.288 MB / 0.7589 GB, free: 69.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.375, allocations: 436.4 kB / 0.7594 GB, free: 68.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/1.375, allocations: 4 kB / 0.7594 GB, free: 68.91 MB / 494.1 MB Notification: Performance of Templates: time 0.1089/1.484, allocations: 71.5 MB / 0.8292 GB, free: 14.24 MB / 0.4982 GB " [Timeout remaining time 659] 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.39060190320015]