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.00181/0.00181, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.002438/0.002438, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.525/1.525, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.001639/0.001639, allocations: 43.92 kB / 374.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1296, allocations: 53.33 MB / 427.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.291/0.4206, allocations: 27.11 MB / 454.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02366/0.4442, allocations: 8.179 MB / 462.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009871/0.4541, allocations: 236.6 kB / 463 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02515/0.4793, allocations: 9.48 MB / 472.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01569/0.495, allocations: 3.374 MB / 475.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007587/0.5025, allocations: 1.834 MB / 477.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02429/0.5268, allocations: 12.24 MB / 490 MB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03706/0.5639, allocations: 18.66 MB / 0.4967 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01475/0.5787, allocations: 6.585 MB / 0.5031 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01742/0.5961, allocations: 7.289 MB / 0.5103 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006824/0.6029, allocations: 1.84 MB / 0.5121 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.6133, allocations: 2.222 MB / 0.5142 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0083/0.6216, allocations: 3.616 MB / 0.5178 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01867/0.6403, allocations: 6.927 MB / 0.5245 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04298/0.6833, allocations: 24.82 MB / 0.5488 GB, free: 9.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.6833, allocations: 0 / 0.5488 GB, free: 9.891 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6833, allocations: 0 / 0.5488 GB, free: 9.891 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008564/0.6841, allocations: 0 / 0.5488 GB, free: 9.891 MB / 462.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.05795/0.7421, allocations: 14.76 MB / 0.5632 GB, free: 11.01 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.952e-05/0.7421, allocations: 8.031 kB / 0.5632 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05188/0.794, allocations: 8.44 MB / 0.5714 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/0.8144, allocations: 7.685 MB / 0.5789 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001162/0.8156, allocations: 0.8107 MB / 0.5797 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006157/0.8217, allocations: 1.062 MB / 0.5808 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05817/0.8799, allocations: 18.33 MB / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006091/0.8805, allocations: 7.953 kB / 0.5987 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005027/0.8855, allocations: 455.9 kB / 0.5991 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/0.8866, allocations: 0.6788 MB / 0.5998 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04455/0.9311, allocations: 17.58 MB / 0.6169 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5929/1.524, allocations: 59.37 MB / 0.6749 GB, free: 110 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0265/1.55, allocations: 36.98 MB / 0.711 GB, free: 74.49 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006178/1.557, allocations: 3.747 MB / 0.7147 GB, free: 72.51 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/1.557, allocations: 314.5 kB / 0.715 GB, free: 72.27 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.556e-05/1.557, allocations: 89.25 kB / 0.7151 GB, free: 72.18 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 8.436e-06/1.557, allocations: 0 / 0.7151 GB, free: 72.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.05223/1.61, allocations: 21.6 MB / 0.7362 GB, free: 53.51 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/1.61, allocations: 103.5 kB / 0.7363 GB, free: 53.39 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007099/1.617, allocations: 4.191 MB / 0.7404 GB, free: 49.23 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009686/1.618, allocations: 113.7 kB / 0.7405 GB, free: 49.11 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002319/1.62, allocations: 4.663 MB / 0.745 GB, free: 45.04 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00204/1.622, allocations: 1.868 MB / 0.7468 GB, free: 43.19 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00348/1.626, allocations: 1.371 MB / 0.7482 GB, free: 41.81 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/1.626, allocations: 305.1 kB / 0.7485 GB, free: 41.51 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004547/1.63, allocations: 3.445 MB / 0.7518 GB, free: 38.06 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005578/1.636, allocations: 5.896 MB / 0.7576 GB, free: 31.07 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.647, allocations: 10.04 MB / 0.7674 GB, free: 19.86 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.846e-05/1.647, allocations: 24 kB / 0.7674 GB, free: 19.84 MB / 0.5138 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01793/1.665, allocations: 10.95 MB / 0.7781 GB, free: 8.797 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/1.665, allocations: 40 kB / 0.7782 GB, free: 8.758 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/1.665, allocations: 76 kB / 0.7782 GB, free: 8.684 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/1.668, allocations: 1.449 MB / 0.7796 GB, free: 7.234 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006054/1.674, allocations: 1.615 MB / 0.7812 GB, free: 5.617 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/1.692, allocations: 11.49 MB / 0.7924 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006059/1.698, allocations: 411.5 kB / 0.7928 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.699, allocations: 339.9 kB / 0.7932 GB, free: 9.258 MB / 0.5294 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.009248/1.708, allocations: 4.161 MB / 0.7972 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.71, allocations: 0.4891 MB / 0.7977 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/1.728, allocations: 8.44 MB / 0.8059 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01431/1.742, allocations: 7.076 MB / 0.8129 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/1.742, allocations: 8 kB / 0.8129 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-05/1.742, allocations: 35.89 kB / 0.8129 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03925/1.781, allocations: 18.77 MB / 0.8312 GB, free: 1.984 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.781, allocations: 0 / 0.8312 GB, free: 1.984 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004512/1.786, allocations: 0.9439 MB / 0.8322 GB, free: 1.039 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2725/2.058, allocations: 1.301 MB / 0.8334 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/2.059, allocations: 120.8 kB / 0.8335 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/2.075, allocations: 10.17 MB / 0.8435 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.075, allocations: 3.75 kB / 0.8435 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/2.1, allocations: 12.29 MB / 0.8555 GB, free: 173.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00376/2.103, allocations: 1.18 MB / 0.8566 GB, free: 173.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/2.105, allocations: 96.08 kB / 0.8567 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/2.108, allocations: 268.9 kB / 0.857 GB, free: 173.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/2.11, allocations: 357.4 kB / 0.8573 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003823/2.11, allocations: 155.5 kB / 0.8575 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005153/2.115, allocations: 2.821 MB / 0.8602 GB, free: 172.2 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/2.115, allocations: 0 / 0.8602 GB, free: 172.2 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009327/2.124, allocations: 1.936 MB / 0.8621 GB, free: 172 MB / 0.5607 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.001437/2.126, allocations: 295.9 kB / 0.8624 GB, free: 171.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01455/2.14, allocations: 8.413 MB / 0.8706 GB, free: 168.7 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.14, allocations: 3.844 kB / 0.8706 GB, free: 168.7 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007497/2.148, allocations: 3.897 MB / 0.8744 GB, free: 167.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006569/2.154, allocations: 1.139 MB / 0.8755 GB, free: 166.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/2.185, allocations: 19.09 MB / 0.8942 GB, free: 153 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006981/2.192, allocations: 6.809 MB / 0.9008 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/2.195, allocations: 0.4896 MB / 0.9013 GB, free: 147.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.613e-06/2.195, allocations: 0 / 0.9013 GB, free: 147.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.4599/2.654, allocations: 185.2 MB / 1.082 GB, free: 164.1 MB / 0.5607 GB " [Timeout remaining time 657] 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/jenkins1/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/jenkins1/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: 20.33040124300169]