Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001371/0.001371, allocations: 85.67 kB / 21.44 MB, free: 296 kB / 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.001517/0.001517, allocations: 163.4 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.985e-05, allocations: 2.281 kB / 299 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02891/0.02894, allocations: 21.45 MB / 320.4 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2288/0.2577, allocations: 7.081 MB / 327.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006816/0.2645, allocations: 190.3 kB / 327.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02427/0.2888, allocations: 8.675 MB / 336.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.3037, allocations: 3.064 MB / 339.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007574/0.3112, allocations: 1.746 MB / 341.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02056/0.3318, allocations: 11.33 MB / 352.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03207/0.3639, allocations: 14.27 MB / 366.8 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02724/0.3911, allocations: 8.707 MB / 375.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01455/0.4056, allocations: 5.555 MB / 381.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005897/0.4115, allocations: 1.681 MB / 382.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009865/0.4214, allocations: 2.049 MB / 384.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006277/0.4277, allocations: 3.284 MB / 388.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01287/0.4406, allocations: 4.135 MB / 392.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0363/0.4769, allocations: 22.75 MB / 415 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.4769, allocations: 0 / 415 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4769, allocations: 0 / 415 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006927/0.4776, allocations: 0 / 415 MB, free: 11.13 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04736/0.5249, allocations: 12.95 MB / 427.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.525, allocations: 11.98 kB / 427.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04474/0.5697, allocations: 7.236 MB / 435.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/0.5893, allocations: 6.251 MB / 441.4 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/0.5904, allocations: 0.7106 MB / 442.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005617/0.596, allocations: 0.9334 MB / 443 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05316/0.6492, allocations: 16.34 MB / 459.4 MB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006072/0.6498, allocations: 19.91 kB / 459.4 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004668/0.6545, allocations: 404 kB / 459.8 MB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009175/0.6554, allocations: 0.5786 MB / 460.4 MB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04099/0.6964, allocations: 15.38 MB / 475.8 MB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5526/1.249, allocations: 44.94 MB / 0.5085 GB, free: 104.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02058/1.27, allocations: 10.92 MB / 0.5192 GB, free: 100.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005923/1.276, allocations: 3.078 MB / 0.5222 GB, free: 98.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/1.291, allocations: 9.011 MB / 0.531 GB, free: 93.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/1.291, allocations: 64.05 kB / 0.531 GB, free: 93.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=297): time 6.022e-06/1.291, allocations: 0 / 0.531 GB, free: 93.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=303): time 0.03106/1.322, allocations: 15.09 MB / 0.5458 GB, free: 80.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/1.322, allocations: 89.78 kB / 0.5459 GB, free: 80.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005059/1.327, allocations: 3.769 MB / 0.5495 GB, free: 76.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002826/1.327, allocations: 77.7 kB / 0.5496 GB, free: 76.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001939/1.329, allocations: 4.405 MB / 0.5539 GB, free: 72.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007987/1.33, allocations: 1.094 MB / 0.555 GB, free: 71.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/1.332, allocations: 1.092 MB / 0.556 GB, free: 70.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/1.332, allocations: 305.1 kB / 0.5563 GB, free: 69.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/1.335, allocations: 2.544 MB / 0.5588 GB, free: 67.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003848/1.339, allocations: 4.938 MB / 0.5636 GB, free: 61.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007696/1.346, allocations: 7.93 MB / 0.5714 GB, free: 52.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.942e-05/1.346, allocations: 27.94 kB / 0.5714 GB, free: 52.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01366/1.36, allocations: 8.579 MB / 0.5798 GB, free: 43.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/1.36, allocations: 40.06 kB / 0.5798 GB, free: 43.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/1.36, allocations: 80 kB / 0.5799 GB, free: 43.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/1.364, allocations: 1.205 MB / 0.5811 GB, free: 42.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/1.368, allocations: 1.224 MB / 0.5823 GB, free: 40.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/1.382, allocations: 9.48 MB / 0.5915 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.387, allocations: 331.6 kB / 0.5918 GB, free: 30.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/1.388, allocations: 291.9 kB / 0.5921 GB, free: 30.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007595/1.395, allocations: 3.728 MB / 0.5958 GB, free: 26.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.397, allocations: 393.5 kB / 0.5961 GB, free: 26.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009526/1.406, allocations: 5.719 MB / 0.6017 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006657/1.413, allocations: 4.7 MB / 0.6063 GB, free: 16.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.413, allocations: 8 kB / 0.6063 GB, free: 16.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.101e-05/1.413, allocations: 19.88 kB / 0.6063 GB, free: 16.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02317/1.436, allocations: 11.46 MB / 0.6175 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.436, allocations: 8.031 kB / 0.6175 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002673/1.439, allocations: 0.5617 MB / 0.6181 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/1.442, allocations: 1.073 MB / 0.6191 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004109/1.442, allocations: 67.97 kB / 0.6192 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/1.456, allocations: 8.411 MB / 0.6274 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.456, allocations: 4 kB / 0.6274 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.472, allocations: 8.419 MB / 0.6356 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.474, allocations: 0.8019 MB / 0.6364 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006524/1.475, allocations: 60 kB / 0.6365 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.477, allocations: 187.8 kB / 0.6367 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006496/1.478, allocations: 242.5 kB / 0.6369 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/1.478, allocations: 95.98 kB / 0.637 GB, free: 364 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004073/1.482, allocations: 2.42 MB / 0.6393 GB, free: 13.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.482, allocations: 0 / 0.6393 GB, free: 13.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006353/1.488, allocations: 1.539 MB / 0.6408 GB, free: 12.41 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.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 (282): * Single equations (assignments): 280 * 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,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007539/1.489, allocations: 241.9 kB / 0.6411 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01225/1.501, allocations: 6.229 MB / 0.6472 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.501, allocations: 8.25 kB / 0.6472 GB, free: 5.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00621/1.508, allocations: 2.742 MB / 0.6498 GB, free: 3.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/1.512, allocations: 0.8393 MB / 0.6507 GB, free: 2.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2329/1.745, allocations: 16.35 MB / 0.6666 GB, free: 144.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01591/1.761, allocations: 5.782 MB / 0.6723 GB, free: 143.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006872/1.768, allocations: 1.858 MB / 0.6741 GB, free: 143.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.769, allocations: 297.1 kB / 0.6744 GB, free: 143.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.412e-06/1.769, allocations: 0 / 0.6744 GB, free: 143.5 MB / 462.1 MB Notification: Performance of Templates: time 0.09778/1.867, allocations: 54.1 MB / 0.7272 GB, free: 98.42 MB / 462.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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: 7.9101416021585464]