Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 92.62 kB / 20.95 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 153.5 kB / 24.25 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 267.4 MB, free: 6.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.754e-05, allocations: 2.312 kB / 267.4 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03042/0.03045, allocations: 21.36 MB / 288.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1427/0.1732, allocations: 7.117 MB / 295.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00532/0.1785, allocations: 221.7 kB / 296 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02069/0.1992, allocations: 8.663 MB / 304.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01286/0.2121, allocations: 3.022 MB / 307.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005451/0.2175, allocations: 1.699 MB / 309.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0134/0.2309, allocations: 11.19 MB / 320.6 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0307/0.2616, allocations: 14.21 MB / 334.8 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02121/0.2828, allocations: 8.625 MB / 343.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.2953, allocations: 5.447 MB / 348.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004788/0.3001, allocations: 1.668 MB / 350.6 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007625/0.3077, allocations: 2.038 MB / 352.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005531/0.3132, allocations: 3.218 MB / 355.8 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01161/0.3248, allocations: 4.074 MB / 359.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03424/0.3591, allocations: 22.7 MB / 382.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.3591, allocations: 8 kB / 382.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3591, allocations: 0 / 382.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005564/0.3597, allocations: 0 / 382.6 MB, free: 6.457 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04606/0.4057, allocations: 12.76 MB / 395.4 MB, free: 9.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.4058, allocations: 12.92 kB / 395.4 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04432/0.4501, allocations: 7.81 MB / 403.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/0.4702, allocations: 7.304 MB / 410.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/0.4714, allocations: 0.7062 MB / 411.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004751/0.4762, allocations: 0.9296 MB / 412.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04477/0.521, allocations: 15.89 MB / 428 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004129/0.5214, allocations: 15.94 kB / 428 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002861/0.5242, allocations: 388 kB / 428.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007688/0.525, allocations: 0.5547 MB / 429 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2716/0.7966, allocations: 14.7 MB / 443.7 MB, free: 108.8 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07772/0.8743, allocations: 45.21 MB / 488.9 MB, free: 76.98 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/0.8909, allocations: 9.205 MB / 498.1 MB, free: 68.88 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/0.8956, allocations: 2.929 MB / 0.4893 GB, free: 65.95 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004444/0.896, allocations: 95.08 kB / 0.4894 GB, free: 65.86 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.564e-05/0.8961, allocations: 85.56 kB / 0.4894 GB, free: 65.77 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 7.214e-06/0.8961, allocations: 0 / 0.4894 GB, free: 65.77 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.03964/0.9357, allocations: 17.17 MB / 0.5062 GB, free: 48.94 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.9358, allocations: 94.58 kB / 0.5063 GB, free: 48.84 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005642/0.9414, allocations: 3.586 MB / 0.5098 GB, free: 45.34 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004565/0.9419, allocations: 97.7 kB / 0.5099 GB, free: 45.24 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001884/0.9438, allocations: 4.122 MB / 0.5139 GB, free: 41.25 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.9449, allocations: 1.428 MB / 0.5153 GB, free: 39.84 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002064/0.9469, allocations: 1.133 MB / 0.5164 GB, free: 38.7 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.947, allocations: 301.1 kB / 0.5167 GB, free: 38.4 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/0.9505, allocations: 2.787 MB / 0.5194 GB, free: 35.61 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004159/0.9547, allocations: 4.971 MB / 0.5243 GB, free: 29.64 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00823/0.9629, allocations: 8.302 MB / 0.5324 GB, free: 20.34 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-05/0.963, allocations: 20 kB / 0.5324 GB, free: 20.32 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01403/0.977, allocations: 9.3 MB / 0.5415 GB, free: 10.99 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.9771, allocations: 37.09 kB / 0.5415 GB, free: 10.96 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.9772, allocations: 76.52 kB / 0.5416 GB, free: 10.88 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004/0.9812, allocations: 1.4 MB / 0.543 GB, free: 9.477 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/0.9857, allocations: 1.314 MB / 0.5442 GB, free: 8.16 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/0.9997, allocations: 9.519 MB / 0.5535 GB, free: 14.54 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.004, allocations: 339.5 kB / 0.5539 GB, free: 14.21 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/1.005, allocations: 280 kB / 0.5541 GB, free: 13.93 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007823/1.013, allocations: 3.705 MB / 0.5577 GB, free: 10.21 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001656/1.015, allocations: 0.5248 MB / 0.5583 GB, free: 9.688 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/1.029, allocations: 6.613 MB / 0.5647 GB, free: 3.039 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01103/1.04, allocations: 5.525 MB / 0.5701 GB, free: 13.49 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/1.04, allocations: 12 kB / 0.5701 GB, free: 13.48 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/1.04, allocations: 23.91 kB / 0.5701 GB, free: 13.46 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1726/1.213, allocations: 13.44 MB / 0.5833 GB, free: 127.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-05/1.213, allocations: 5.969 kB / 0.5833 GB, free: 127.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/1.216, allocations: 0.7206 MB / 0.584 GB, free: 127.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004736/1.221, allocations: 1.26 MB / 0.5852 GB, free: 127.4 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008336/1.222, allocations: 88.77 kB / 0.5853 GB, free: 127.4 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/1.236, allocations: 8.472 MB / 0.5936 GB, free: 124.8 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/1.236, allocations: 8.625 kB / 0.5936 GB, free: 124.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.251, allocations: 9.907 MB / 0.6033 GB, free: 120.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/1.253, allocations: 0.8942 MB / 0.6041 GB, free: 120.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005835/1.254, allocations: 80.25 kB / 0.6042 GB, free: 120.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.256, allocations: 204.6 kB / 0.6044 GB, free: 120.3 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006712/1.257, allocations: 302.3 kB / 0.6047 GB, free: 120.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002455/1.257, allocations: 114 kB / 0.6048 GB, free: 120.2 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003024/1.26, allocations: 2.328 MB / 0.6071 GB, free: 119.4 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/1.26, allocations: 0 / 0.6071 GB, free: 119.4 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006281/1.266, allocations: 1.599 MB / 0.6086 GB, free: 119.2 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006529/1.267, allocations: 284.6 kB / 0.6089 GB, free: 119 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01018/1.277, allocations: 6.844 MB / 0.6156 GB, free: 116.4 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.277, allocations: 3.562 kB / 0.6156 GB, free: 116.4 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005321/1.282, allocations: 3.145 MB / 0.6187 GB, free: 115.2 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00444/1.287, allocations: 0.9079 MB / 0.6196 GB, free: 114.6 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.311, allocations: 16.88 MB / 0.636 GB, free: 99.2 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005364/1.317, allocations: 5.741 MB / 0.6416 GB, free: 94.77 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004292/1.321, allocations: 1.886 MB / 0.6435 GB, free: 92.95 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009728/1.322, allocations: 340.2 kB / 0.6438 GB, free: 92.62 MB / 410.8 MB Notification: Performance of SimCode: time 1.483e-06/1.322, allocations: 0 / 0.6438 GB, free: 92.62 MB / 410.8 MB Notification: Performance of Templates: time 0.08852/1.411, allocations: 59.74 MB / 0.7021 GB, free: 33.64 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.544093796983361]