Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001523/0.001523, allocations: 86.56 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 325.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.194e-05, allocations: 2.281 kB / 325.1 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02925/0.02927, allocations: 23.24 MB / 348.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02143/0.0507, allocations: 7.856 MB / 356.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007262/0.05796, allocations: 238.8 kB / 356.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03036/0.08832, allocations: 9.244 MB / 365.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.1026, allocations: 3.432 MB / 369.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006781/0.1093, allocations: 1.826 MB / 370.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01996/0.1293, allocations: 12.76 MB / 383.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02971/0.159, allocations: 15.88 MB / 399.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01898/0.178, allocations: 9.708 MB / 409.2 MB, free: 484 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.1901, allocations: 6.276 MB / 415.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005112/0.1952, allocations: 1.832 MB / 417.4 MB, free: 8.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.2057, allocations: 2.233 MB / 419.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006447/0.2122, allocations: 3.67 MB / 423.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01113/0.2233, allocations: 4.632 MB / 427.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03243/0.2557, allocations: 25.11 MB / 453 MB, free: 4.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.2558, allocations: 0 / 453 MB, free: 4.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2558, allocations: 4 kB / 453 MB, free: 4.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00059/0.2563, allocations: 0 / 453 MB, free: 4.609 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.04657/0.3029, allocations: 14.55 MB / 467.6 MB, free: 5.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.303, allocations: 11.98 kB / 467.6 MB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.227/0.53, allocations: 8.447 MB / 476 MB, free: 113.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/0.5462, allocations: 7.812 MB / 483.8 MB, free: 110.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008478/0.547, allocations: 0.8072 MB / 484.6 MB, free: 110.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004108/0.5511, allocations: 1.06 MB / 485.7 MB, free: 110.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/0.5869, allocations: 18.55 MB / 0.4924 GB, free: 98.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002981/0.5872, allocations: 15.95 kB / 0.4924 GB, free: 98.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/0.5896, allocations: 449.9 kB / 0.4929 GB, free: 98.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004748/0.5901, allocations: 0.6749 MB / 0.4935 GB, free: 97.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02971/0.6198, allocations: 17.48 MB / 0.5106 GB, free: 80.39 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07692/0.6967, allocations: 50.36 MB / 0.5598 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/0.717, allocations: 12.65 MB / 0.5721 GB, free: 18.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004895/0.7219, allocations: 3.735 MB / 0.5758 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.7223, allocations: 131.9 kB / 0.5759 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.7224, allocations: 90.56 kB / 0.576 GB, free: 14.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=518): time 8.806e-06/0.7224, allocations: 0 / 0.576 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=524): time 0.04513/0.7675, allocations: 21.23 MB / 0.5967 GB, free: 9.254 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.7676, allocations: 107.5 kB / 0.5968 GB, free: 9.133 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006598/0.7742, allocations: 4.003 MB / 0.6007 GB, free: 5.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001025/0.7752, allocations: 109.7 kB / 0.6008 GB, free: 5.023 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00393/0.7792, allocations: 4.673 MB / 0.6054 GB, free: 348 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002431/0.7816, allocations: 1.841 MB / 0.6072 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/0.7839, allocations: 1.359 MB / 0.6085 GB, free: 13.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.7841, allocations: 301.1 kB / 0.6088 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005889/0.79, allocations: 3.434 MB / 0.6122 GB, free: 9.422 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008194/0.7982, allocations: 5.902 MB / 0.6179 GB, free: 2.418 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/0.8133, allocations: 10.01 MB / 0.6277 GB, free: 7.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.626e-05/0.8133, allocations: 24 kB / 0.6277 GB, free: 7.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02151/0.8348, allocations: 10.88 MB / 0.6384 GB, free: 12.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/0.8349, allocations: 40.03 kB / 0.6384 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.835, allocations: 80 kB / 0.6385 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/0.8389, allocations: 1.376 MB / 0.6398 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007277/0.8462, allocations: 1.618 MB / 0.6414 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1878/1.034, allocations: 10.91 MB / 0.652 GB, free: 152.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005218/1.039, allocations: 402.4 kB / 0.6524 GB, free: 152.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008044/1.04, allocations: 339 kB / 0.6528 GB, free: 152.6 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.007109/1.047, allocations: 4.162 MB / 0.6568 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/1.048, allocations: 485.3 kB / 0.6573 GB, free: 152.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.062, allocations: 8.383 MB / 0.6655 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009671/1.072, allocations: 7.034 MB / 0.6723 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/1.072, allocations: 13.53 kB / 0.6723 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.476e-05/1.072, allocations: 26.72 kB / 0.6724 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/1.098, allocations: 16.12 MB / 0.6881 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/1.098, allocations: 3.844 kB / 0.6881 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/1.102, allocations: 0.9432 MB / 0.689 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003126/1.105, allocations: 1.236 MB / 0.6902 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005118/1.105, allocations: 118.6 kB / 0.6904 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/1.118, allocations: 9.643 MB / 0.6998 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.118, allocations: 11.31 kB / 0.6998 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/1.133, allocations: 12.2 MB / 0.7117 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/1.136, allocations: 1.099 MB / 0.7128 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009203/1.137, allocations: 98.28 kB / 0.7129 GB, free: 120.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.14, allocations: 265.4 kB / 0.7131 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007313/1.14, allocations: 380.2 kB / 0.7135 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/1.141, allocations: 152 kB / 0.7136 GB, free: 119.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00331/1.144, allocations: 2.583 MB / 0.7162 GB, free: 117.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.144, allocations: 0 / 0.7162 GB, free: 117.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007089/1.151, allocations: 1.918 MB / 0.718 GB, free: 115.2 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.0009238/1.152, allocations: 303.7 kB / 0.7183 GB, free: 114.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01194/1.164, allocations: 8.363 MB / 0.7265 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.164, allocations: 3.844 kB / 0.7265 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005847/1.17, allocations: 3.881 MB / 0.7303 GB, free: 102.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004678/1.174, allocations: 1.015 MB / 0.7313 GB, free: 101.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.2, allocations: 19.39 MB / 0.7502 GB, free: 82.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005221/1.205, allocations: 6.582 MB / 0.7566 GB, free: 75.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005058/1.21, allocations: 2.292 MB / 0.7589 GB, free: 73.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.211, allocations: 436.4 kB / 0.7593 GB, free: 72.72 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/1.211, allocations: 0 / 0.7593 GB, free: 72.72 MB / 494.1 MB Notification: Performance of Templates: time 0.1098/1.321, allocations: 71.47 MB / 0.8291 GB, free: 1.91 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.362280167639256]