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.001417/0.001417, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001541/0.001541, allocations: 209 kB / 23.73 MB, free: 4.523 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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 0.001567/0.001567, allocations: 51.92 kB / 378.3 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.235, allocations: 53.36 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02916/0.2641, allocations: 23.21 MB / 454.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.2803, allocations: 7.856 MB / 462.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.2845, allocations: 234.8 kB / 462.9 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02196/0.3065, allocations: 8.756 MB / 471.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.317, allocations: 3.384 MB / 475.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.3219, allocations: 1.821 MB / 476.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01494/0.3369, allocations: 12.37 MB / 489.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02574/0.3626, allocations: 16.04 MB / 0.4934 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.3731, allocations: 6.651 MB / 0.4999 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.385, allocations: 7.281 MB / 0.507 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004534/0.3896, allocations: 1.836 MB / 0.5088 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006415/0.396, allocations: 2.214 MB / 0.511 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005501/0.4015, allocations: 3.608 MB / 0.5145 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01033/0.4118, allocations: 5.362 MB / 0.5198 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.464/0.8758, allocations: 24.88 MB / 0.5441 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8758, allocations: 1.375 kB / 0.5441 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.8758, allocations: 0.625 kB / 0.5441 GB, free: 42.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005634/0.8764, allocations: 0 / 0.5441 GB, free: 42.48 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.04096/0.9173, allocations: 14.67 MB / 0.5584 GB, free: 38.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.9174, allocations: 10.16 kB / 0.5584 GB, free: 38.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0458/0.9632, allocations: 8.431 MB / 0.5666 GB, free: 35.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/0.9816, allocations: 7.817 MB / 0.5743 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006791/0.9822, allocations: 0.8036 MB / 0.5751 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00536/0.9876, allocations: 1.057 MB / 0.5761 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04315/1.031, allocations: 18.55 MB / 0.5942 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003581/1.031, allocations: 15.94 kB / 0.5942 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0044/1.036, allocations: 454.1 kB / 0.5946 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005767/1.036, allocations: 0.6707 MB / 0.5953 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03463/1.071, allocations: 17.48 MB / 0.6124 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1115/1.182, allocations: 50.33 MB / 0.6615 GB, free: 10.27 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02443/1.207, allocations: 12.66 MB / 0.6739 GB, free: 15.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006446/1.213, allocations: 3.729 MB / 0.6775 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/1.214, allocations: 124 kB / 0.6776 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.772e-05/1.214, allocations: 86.62 kB / 0.6777 GB, free: 11.73 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.155e-06/1.214, allocations: 0 / 0.6777 GB, free: 11.73 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05/1.264, allocations: 21.24 MB / 0.6985 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.264, allocations: 115.1 kB / 0.6986 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006293/1.27, allocations: 3.999 MB / 0.7025 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006629/1.271, allocations: 109.7 kB / 0.7026 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003712/1.274, allocations: 4.688 MB / 0.7072 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002192/1.277, allocations: 1.865 MB / 0.709 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002234/1.279, allocations: 1.371 MB / 0.7103 GB, free: 10.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.279, allocations: 301.1 kB / 0.7106 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005693/1.285, allocations: 3.441 MB / 0.714 GB, free: 6.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007925/1.293, allocations: 5.895 MB / 0.7197 GB, free: 15.51 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.307, allocations: 10.01 MB / 0.7295 GB, free: 4.656 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.668e-05/1.307, allocations: 24 kB / 0.7295 GB, free: 4.633 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02046/1.328, allocations: 10.88 MB / 0.7402 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/1.328, allocations: 38.03 kB / 0.7402 GB, free: 10.13 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.328, allocations: 80.38 kB / 0.7403 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/1.332, allocations: 1.37 MB / 0.7416 GB, free: 8.68 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/1.338, allocations: 1.624 MB / 0.7432 GB, free: 7.164 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2492/1.587, allocations: 10.93 MB / 0.7539 GB, free: 202.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/1.592, allocations: 399.5 kB / 0.7543 GB, free: 202.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/1.593, allocations: 346.4 kB / 0.7546 GB, free: 202.6 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.005852/1.599, allocations: 4.162 MB / 0.7586 GB, free: 202.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.6, allocations: 484.4 kB / 0.7591 GB, free: 202.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.613, allocations: 8.384 MB / 0.7673 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009618/1.622, allocations: 7.028 MB / 0.7742 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/1.622, allocations: 11.38 kB / 0.7742 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.452e-05/1.622, allocations: 29.03 kB / 0.7742 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.65, allocations: 16.12 MB / 0.7899 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.65, allocations: 0 / 0.7899 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/1.653, allocations: 0.9484 MB / 0.7909 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002908/1.656, allocations: 1.224 MB / 0.7921 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004599/1.656, allocations: 115.1 kB / 0.7922 GB, free: 186.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.668, allocations: 9.66 MB / 0.8016 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.668, allocations: 4 kB / 0.8016 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/1.684, allocations: 12.21 MB / 0.8135 GB, free: 167.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003191/1.688, allocations: 1.092 MB / 0.8146 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000806/1.688, allocations: 95.98 kB / 0.8147 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.691, allocations: 262.1 kB / 0.8149 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006767/1.691, allocations: 376.2 kB / 0.8153 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002773/1.692, allocations: 156 kB / 0.8155 GB, free: 165.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003128/1.695, allocations: 2.579 MB / 0.818 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/1.695, allocations: 0 / 0.818 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005837/1.701, allocations: 1.922 MB / 0.8198 GB, free: 161.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.0007057/1.701, allocations: 305.2 kB / 0.8201 GB, free: 160.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.713, allocations: 8.372 MB / 0.8283 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.713, allocations: 2 kB / 0.8283 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005893/1.719, allocations: 3.886 MB / 0.8321 GB, free: 148.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004582/1.723, allocations: 1.014 MB / 0.8331 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02568/1.749, allocations: 19.48 MB / 0.8521 GB, free: 128 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005802/1.755, allocations: 6.581 MB / 0.8586 GB, free: 121.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005157/1.76, allocations: 2.289 MB / 0.8608 GB, free: 119.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.761, allocations: 435.3 kB / 0.8612 GB, free: 118.7 MB / 0.5763 GB Notification: Performance of SimCode: time 1.183e-06/1.761, allocations: 0 / 0.8612 GB, free: 118.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.1163/1.878, allocations: 86.08 MB / 0.9453 GB, free: 33.44 MB / 0.5763 GB " [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.662011748645455]