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.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.0008954/0.0008954, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0009621/0.0009621, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9813/0.9813, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.185e-05, allocations: 2.312 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.126/0.126, allocations: 24.23 MB / 297.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.1377, allocations: 7.351 MB / 304.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/0.1414, allocations: 222.5 kB / 304.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01329/0.1547, allocations: 9.394 MB / 314.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006661/0.1613, allocations: 3.049 MB / 317.3 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.1639, allocations: 1.74 MB / 319.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008384/0.1723, allocations: 11.3 MB / 330.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01585/0.1881, allocations: 14.23 MB / 344.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007965/0.1961, allocations: 8.694 MB / 353.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005538/0.2016, allocations: 6.036 MB / 359.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001642/0.2032, allocations: 1.664 MB / 361 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.2055, allocations: 2.062 MB / 363.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001764/0.2073, allocations: 3.269 MB / 366.3 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003712/0.211, allocations: 4.133 MB / 370.5 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009239/0.2202, allocations: 10.41 MB / 380.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2202, allocations: 0 / 380.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2202, allocations: 0 / 380.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001765/0.2204, allocations: 0 / 380.9 MB, free: 7.031 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.01907/0.2395, allocations: 13.68 MB / 394.5 MB, free: 9.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2395, allocations: 8.031 kB / 394.6 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02088/0.2604, allocations: 7.748 MB / 402.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009487/0.2699, allocations: 6.702 MB / 409 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004122/0.2703, allocations: 0.6946 MB / 409.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.2717, allocations: 0.9256 MB / 410.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.2858, allocations: 8.283 MB / 418.9 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.286, allocations: 15.94 kB / 418.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006843/0.2867, allocations: 388 kB / 419.3 MB, free: 312 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003973/0.2871, allocations: 0.5508 MB / 419.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009793/0.2968, allocations: 4.607 MB / 424.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2286/0.5255, allocations: 40.8 MB / 465.3 MB, free: 96.84 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00825/0.5337, allocations: 7.995 MB / 473.3 MB, free: 94.86 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.5353, allocations: 1.335 MB / 474.6 MB, free: 94.4 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.5355, allocations: 129.4 kB / 474.7 MB, free: 94.36 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.5355, allocations: 81.67 kB / 474.8 MB, free: 94.28 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 5.851e-06/0.5356, allocations: 3.938 kB / 474.8 MB, free: 94.28 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.0163/0.5518, allocations: 10.31 MB / 485.1 MB, free: 85.79 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.5519, allocations: 94.58 kB / 485.2 MB, free: 85.69 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.5546, allocations: 3.299 MB / 488.5 MB, free: 82.47 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.5547, allocations: 89.7 kB / 488.6 MB, free: 82.38 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.5559, allocations: 4.368 MB / 493 MB, free: 78.52 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/0.5564, allocations: 1.474 MB / 494.4 MB, free: 77.07 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.5575, allocations: 1.272 MB / 495.7 MB, free: 75.78 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.075e-05/0.5575, allocations: 484.7 kB / 496.2 MB, free: 75.3 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.5589, allocations: 0.8742 MB / 497.1 MB, free: 74.42 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.5609, allocations: 4.122 MB / 0.4894 GB, free: 68.93 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.5649, allocations: 5.508 MB / 0.4948 GB, free: 62.07 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/0.5649, allocations: 20 kB / 0.4948 GB, free: 62.05 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006429/0.5714, allocations: 5.333 MB / 0.5 GB, free: 56.69 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.5714, allocations: 36 kB / 0.5001 GB, free: 56.66 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/0.5715, allocations: 68 kB / 0.5001 GB, free: 56.59 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/0.5735, allocations: 1.122 MB / 0.5012 GB, free: 55.46 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.5757, allocations: 1.326 MB / 0.5025 GB, free: 54.13 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006291/0.582, allocations: 6.049 MB / 0.5084 GB, free: 47.96 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.5838, allocations: 319.6 kB / 0.5087 GB, free: 47.65 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.5841, allocations: 288 kB / 0.509 GB, free: 47.37 MB / 378.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.001693/0.5858, allocations: 0.5452 MB / 0.5095 GB, free: 46.81 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/0.5863, allocations: 0.5247 MB / 0.5101 GB, free: 46.29 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/0.591, allocations: 3.649 MB / 0.5136 GB, free: 42.6 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003541/0.5945, allocations: 2.673 MB / 0.5162 GB, free: 39.91 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.5945, allocations: 8 kB / 0.5162 GB, free: 39.9 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.5945, allocations: 23.86 kB / 0.5163 GB, free: 39.88 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.6065, allocations: 11.34 MB / 0.5273 GB, free: 28.44 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.6066, allocations: 4 kB / 0.5273 GB, free: 28.44 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.608, allocations: 0.7216 MB / 0.528 GB, free: 27.71 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.6098, allocations: 1.02 MB / 0.529 GB, free: 26.7 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.61, allocations: 91.97 kB / 0.5291 GB, free: 26.61 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/0.6156, allocations: 5.581 MB / 0.5346 GB, free: 20.91 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6156, allocations: 4 kB / 0.5346 GB, free: 20.9 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/0.6216, allocations: 4.692 MB / 0.5392 GB, free: 16.07 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.6226, allocations: 0.8174 MB / 0.54 GB, free: 15.25 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.6229, allocations: 79.98 kB / 0.54 GB, free: 15.17 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009126/0.6238, allocations: 187.8 kB / 0.5402 GB, free: 14.99 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/0.6242, allocations: 315.1 kB / 0.5405 GB, free: 14.68 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.6243, allocations: 124 kB / 0.5406 GB, free: 14.56 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001555/0.6259, allocations: 1.51 MB / 0.5421 GB, free: 13.05 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6259, allocations: 0 / 0.5421 GB, free: 13.05 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003309/0.6292, allocations: 1.605 MB / 0.5437 GB, free: 11.45 MB / 378.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.0003907/0.6296, allocations: 277.7 kB / 0.5439 GB, free: 11.18 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004924/0.6345, allocations: 4.118 MB / 0.548 GB, free: 7.027 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6345, allocations: 0 / 0.548 GB, free: 7.027 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002295/0.6368, allocations: 2.12 MB / 0.55 GB, free: 4.891 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.6388, allocations: 0.9084 MB / 0.5509 GB, free: 4.023 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.6531, allocations: 13.81 MB / 0.5644 GB, free: 6.031 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001878/0.655, allocations: 2.601 MB / 0.5669 GB, free: 3.391 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002542/0.6575, allocations: 1.61 MB / 0.5685 GB, free: 1.773 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/0.6582, allocations: 356.4 kB / 0.5689 GB, free: 1.422 MB / 394.8 MB Notification: Performance of SimCode: time 1.563e-06/0.6582, allocations: 0 / 0.5689 GB, free: 1.422 MB / 394.8 MB Notification: Performance of Templates: time 0.1612/0.8194, allocations: 60.41 MB / 0.6278 GB, free: 82.68 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.593349385075271]