Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 51.92 kB / 371 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2531, allocations: 52.18 MB / 423.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03241/0.2855, allocations: 27.14 MB / 450.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01993/0.3054, allocations: 8.078 MB / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005799/0.3112, allocations: 238.8 kB / 458.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02283/0.3341, allocations: 9.491 MB / 468.1 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.3452, allocations: 3.47 MB / 471.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005869/0.3511, allocations: 1.851 MB / 473.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01804/0.3691, allocations: 12.26 MB / 485.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02803/0.3972, allocations: 14.99 MB / 0.4889 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.4084, allocations: 6.636 MB / 0.4954 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01206/0.4205, allocations: 7.258 MB / 0.5025 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00466/0.4251, allocations: 1.84 MB / 0.5043 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006875/0.432, allocations: 2.222 MB / 0.5065 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006151/0.4382, allocations: 3.62 MB / 0.51 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.4517, allocations: 6.915 MB / 0.5168 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4662/0.9179, allocations: 24.79 MB / 0.541 GB, free: 43.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.9179, allocations: 2.75 kB / 0.541 GB, free: 43.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.9179, allocations: 1.375 kB / 0.541 GB, free: 43.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007408/0.9187, allocations: 0 / 0.541 GB, free: 43.13 MB / 446.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.04365/0.9623, allocations: 14.66 MB / 0.5553 GB, free: 39.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.9624, allocations: 9.844 kB / 0.5553 GB, free: 39.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04693/1.009, allocations: 8.532 MB / 0.5636 GB, free: 37.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/1.024, allocations: 7.755 MB / 0.5712 GB, free: 35.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005557/1.025, allocations: 0.8024 MB / 0.572 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004262/1.029, allocations: 1.064 MB / 0.573 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04023/1.069, allocations: 18.29 MB / 0.5909 GB, free: 17.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003503/1.07, allocations: 15.94 kB / 0.5909 GB, free: 17.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003567/1.073, allocations: 449.2 kB / 0.5913 GB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005559/1.074, allocations: 0.6672 MB / 0.592 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03278/1.107, allocations: 17.54 MB / 0.6091 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1121/1.219, allocations: 56.78 MB / 0.6646 GB, free: 6.191 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02446/1.243, allocations: 12.81 MB / 0.6771 GB, free: 11.48 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006949/1.25, allocations: 3.732 MB / 0.6807 GB, free: 7.723 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/1.251, allocations: 117.6 kB / 0.6808 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.874e-05/1.251, allocations: 94.19 kB / 0.6809 GB, free: 7.52 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 7.103e-06/1.251, allocations: 0 / 0.6809 GB, free: 7.52 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05301/1.304, allocations: 21.39 MB / 0.7018 GB, free: 2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/1.304, allocations: 107.5 kB / 0.7019 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007036/1.311, allocations: 4.184 MB / 0.706 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009163/1.312, allocations: 109.7 kB / 0.7061 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004074/1.316, allocations: 4.661 MB / 0.7106 GB, free: 8.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002389/1.318, allocations: 1.866 MB / 0.7125 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002482/1.321, allocations: 1.355 MB / 0.7138 GB, free: 5.676 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.321, allocations: 301.1 kB / 0.7141 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006/1.327, allocations: 3.448 MB / 0.7174 GB, free: 1.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.337, allocations: 5.878 MB / 0.7232 GB, free: 10.99 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02434/1.361, allocations: 10.02 MB / 0.733 GB, free: 136 kB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.95e-05/1.362, allocations: 24 kB / 0.733 GB, free: 112 kB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0377/1.399, allocations: 10.93 MB / 0.7437 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.399, allocations: 36.38 kB / 0.7437 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/1.4, allocations: 84 kB / 0.7438 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00744/1.407, allocations: 1.446 MB / 0.7452 GB, free: 4.031 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/1.414, allocations: 1.612 MB / 0.7468 GB, free: 2.527 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2161/1.63, allocations: 11.4 MB / 0.7579 GB, free: 208.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004839/1.635, allocations: 409.6 kB / 0.7583 GB, free: 208.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008398/1.635, allocations: 331.9 kB / 0.7586 GB, free: 208.7 MB / 0.5763 GB 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.006108/1.641, allocations: 4.16 MB / 0.7627 GB, free: 206.8 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.643, allocations: 498.6 kB / 0.7631 GB, free: 206.8 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/1.655, allocations: 8.445 MB / 0.7714 GB, free: 203.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009427/1.665, allocations: 7.041 MB / 0.7783 GB, free: 200.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/1.665, allocations: 11.69 kB / 0.7783 GB, free: 200.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.014e-05/1.665, allocations: 30.23 kB / 0.7783 GB, free: 200.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02668/1.691, allocations: 18.77 MB / 0.7966 GB, free: 190.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.691, allocations: 4 kB / 0.7966 GB, free: 190.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003464/1.695, allocations: 0.9348 MB / 0.7976 GB, free: 190 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003285/1.698, allocations: 1.307 MB / 0.7988 GB, free: 189 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/1.698, allocations: 108.6 kB / 0.7989 GB, free: 188.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/1.711, allocations: 10.1 MB / 0.8088 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.711, allocations: 4 kB / 0.8088 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.727, allocations: 12.26 MB / 0.8208 GB, free: 166.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/1.73, allocations: 1.133 MB / 0.8219 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007008/1.73, allocations: 100.1 kB / 0.822 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/1.733, allocations: 271.7 kB / 0.8222 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006513/1.733, allocations: 376.2 kB / 0.8226 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002831/1.734, allocations: 144 kB / 0.8227 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003159/1.737, allocations: 2.818 MB / 0.8255 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/1.737, allocations: 0 / 0.8255 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005047/1.742, allocations: 1.926 MB / 0.8274 GB, free: 160.2 MB / 0.5763 GB 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.0005902/1.742, allocations: 316.9 kB / 0.8277 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.753, allocations: 8.381 MB / 0.8359 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.753, allocations: 0 / 0.8359 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005486/1.759, allocations: 3.897 MB / 0.8397 GB, free: 147.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/1.764, allocations: 1.122 MB / 0.8408 GB, free: 146.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02863/1.792, allocations: 19.6 MB / 0.8599 GB, free: 126.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006936/1.799, allocations: 7.013 MB / 0.8667 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005446/1.805, allocations: 2.313 MB / 0.869 GB, free: 117.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.806, allocations: 419.3 kB / 0.8694 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.212e-06/1.806, allocations: 0 / 0.8694 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.1181/1.924, allocations: 85.64 MB / 0.953 GB, free: 31.89 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.55036618001759]