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.001804/0.001804, allocations: 74.19 kB / 21.24 MB, free: 0.5547 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.002245/0.002245, allocations: 158.3 kB / 24.5 MB, free: 3.715 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.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 8.996 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 0.001557/0.001557, allocations: 50.98 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08794, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02758/0.1155, allocations: 23.21 MB / 402.2 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0166/0.1321, allocations: 7.849 MB / 410 MB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005098/0.1372, allocations: 234.8 kB / 410.2 MB, free: 232 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02273/0.1599, allocations: 9.215 MB / 419.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.1709, allocations: 3.378 MB / 422.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005652/0.1766, allocations: 1.821 MB / 424.7 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01665/0.1932, allocations: 12.37 MB / 437 MB, free: 5.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02617/0.2194, allocations: 15.84 MB / 452.9 MB, free: 5.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009531/0.2289, allocations: 6.651 MB / 459.5 MB, free: 14.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01158/0.2405, allocations: 6.976 MB / 466.5 MB, free: 7.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003768/0.2443, allocations: 1.836 MB / 468.3 MB, free: 5.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005508/0.2498, allocations: 2.203 MB / 470.5 MB, free: 3.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004669/0.2544, allocations: 3.612 MB / 474.1 MB, free: 16 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1975/0.452, allocations: 5.355 MB / 479.5 MB, free: 30.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02327/0.4753, allocations: 24.89 MB / 0.4926 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4753, allocations: 3.469 kB / 0.4926 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4753, allocations: 0 / 0.4926 GB, free: 24.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005315/0.4758, allocations: 0 / 0.4926 GB, free: 24.64 MB / 430.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.04023/0.516, allocations: 14.67 MB / 0.5069 GB, free: 16.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5161, allocations: 8.562 kB / 0.5069 GB, free: 16.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04407/0.5601, allocations: 8.451 MB / 0.5151 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.5751, allocations: 7.814 MB / 0.5228 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006438/0.5758, allocations: 0.8033 MB / 0.5236 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00446/0.5802, allocations: 1.058 MB / 0.5246 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04376/0.624, allocations: 18.55 MB / 0.5427 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003609/0.6244, allocations: 11.95 kB / 0.5427 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003188/0.6276, allocations: 448.2 kB / 0.5431 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007797/0.6283, allocations: 0.6711 MB / 0.5438 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03874/0.6671, allocations: 17.48 MB / 0.5609 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.106/0.7731, allocations: 50.36 MB / 0.61 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02717/0.8003, allocations: 12.67 MB / 0.6224 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00744/0.8077, allocations: 3.729 MB / 0.6261 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.8083, allocations: 126.3 kB / 0.6262 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.8084, allocations: 90.62 kB / 0.6263 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 9.928e-06/0.8084, allocations: 4 kB / 0.6263 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.05473/0.8632, allocations: 21.23 MB / 0.647 GB, free: 11.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.8633, allocations: 103.5 kB / 0.6471 GB, free: 11.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007268/0.8705, allocations: 4.003 MB / 0.651 GB, free: 7.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006056/0.8711, allocations: 109.7 kB / 0.6511 GB, free: 7.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003548/0.8747, allocations: 4.688 MB / 0.6557 GB, free: 2.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002064/0.8767, allocations: 1.862 MB / 0.6575 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002914/0.8797, allocations: 1.371 MB / 0.6589 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8798, allocations: 309.1 kB / 0.6592 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00648/0.8863, allocations: 3.43 MB / 0.6625 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00823/0.8945, allocations: 5.904 MB / 0.6683 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2058/1.1, allocations: 10.01 MB / 0.678 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.659e-05/1.1, allocations: 22.62 kB / 0.6781 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01603/1.116, allocations: 10.88 MB / 0.6887 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/1.117, allocations: 38.44 kB / 0.6887 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.381e-05/1.117, allocations: 78 kB / 0.6888 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/1.12, allocations: 1.379 MB / 0.6901 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005469/1.125, allocations: 1.614 MB / 0.6917 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.139, allocations: 10.94 MB / 0.7024 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/1.144, allocations: 399.9 kB / 0.7028 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006702/1.145, allocations: 344.9 kB / 0.7031 GB, free: 176.6 MB / 0.5606 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.005864/1.151, allocations: 4.157 MB / 0.7072 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008947/1.152, allocations: 482.8 kB / 0.7076 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.164, allocations: 8.374 MB / 0.7158 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009175/1.173, allocations: 7.035 MB / 0.7227 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/1.173, allocations: 12 kB / 0.7227 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/1.173, allocations: 26.34 kB / 0.7227 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02311/1.196, allocations: 16.11 MB / 0.7385 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.196, allocations: 5.5 kB / 0.7385 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/1.2, allocations: 0.9442 MB / 0.7394 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002772/1.202, allocations: 1.235 MB / 0.7406 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/1.203, allocations: 118.9 kB / 0.7407 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.214, allocations: 9.655 MB / 0.7501 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.214, allocations: 4 kB / 0.7501 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/1.229, allocations: 12.21 MB / 0.7621 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.231, allocations: 1.1 MB / 0.7631 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007219/1.232, allocations: 98.91 kB / 0.7632 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.234, allocations: 267.8 kB / 0.7635 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/1.235, allocations: 364.3 kB / 0.7638 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003071/1.235, allocations: 152 kB / 0.764 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00308/1.238, allocations: 2.583 MB / 0.7665 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.238, allocations: 0 / 0.7665 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00546/1.244, allocations: 1.918 MB / 0.7684 GB, free: 118.6 MB / 0.5606 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.000558/1.244, allocations: 305.5 kB / 0.7687 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.255, allocations: 8.368 MB / 0.7768 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.255, allocations: 12 kB / 0.7768 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005257/1.26, allocations: 3.891 MB / 0.7806 GB, free: 106 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/1.264, allocations: 1.004 MB / 0.7816 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.288, allocations: 19.48 MB / 0.8006 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00577/1.294, allocations: 6.58 MB / 0.8071 GB, free: 78.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004966/1.299, allocations: 2.288 MB / 0.8093 GB, free: 76.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.3, allocations: 436.4 kB / 0.8097 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/1.3, allocations: 0 / 0.8097 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.1063/1.407, allocations: 71.96 MB / 0.88 GB, free: 4.938 MB / 0.5606 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 -s ida -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: 8.24212177703157]