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.0009895/0.0009895, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 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.0009263/0.0009263, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9183/0.9183, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.353e-06/1.353e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.678e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.143/0.143, allocations: 26.49 MB / 299.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.1584, allocations: 8.066 MB / 307.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00505/0.1635, allocations: 236.1 kB / 307.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01107/0.1746, allocations: 10.04 MB / 317.8 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00959/0.1841, allocations: 3.443 MB / 321.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.1877, allocations: 1.848 MB / 323.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.2, allocations: 12.77 MB / 335.9 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02016/0.2202, allocations: 15.9 MB / 351.8 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.231, allocations: 9.79 MB / 361.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008715/0.2397, allocations: 6.976 MB / 368.5 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003843/0.2435, allocations: 1.836 MB / 370.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004598/0.2481, allocations: 2.23 MB / 372.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.2504, allocations: 3.733 MB / 376.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005464/0.2559, allocations: 4.69 MB / 381 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.2684, allocations: 11.79 MB / 392.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2684, allocations: 0 / 392.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2684, allocations: 3.938 kB / 392.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000408/0.2688, allocations: 4 kB / 392.8 MB, free: 10.27 MB / 346.7 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.02314/0.2919, allocations: 15.54 MB / 408.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.292, allocations: 15.98 kB / 408.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02369/0.3157, allocations: 10.37 MB / 418.7 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.3268, allocations: 7.394 MB / 426.1 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005258/0.3273, allocations: 0.8067 MB / 426.9 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/0.3291, allocations: 1.066 MB / 428 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2766/0.6057, allocations: 9.712 MB / 437.7 MB, free: 79.91 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.6059, allocations: 13.02 kB / 437.7 MB, free: 79.91 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000776/0.6067, allocations: 449.9 kB / 438.2 MB, free: 79.91 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005676/0.6072, allocations: 0.6746 MB / 438.8 MB, free: 79.89 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.6197, allocations: 5.629 MB / 444.5 MB, free: 79.75 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03823/0.6579, allocations: 46.2 MB / 490.7 MB, free: 54.88 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.6679, allocations: 11.12 MB / 0.49 GB, free: 45.79 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.6698, allocations: 1.716 MB / 0.4917 GB, free: 44.05 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.6701, allocations: 163.3 kB / 0.4919 GB, free: 43.89 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.6701, allocations: 90.33 kB / 0.4919 GB, free: 43.79 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 6.732e-06/0.6701, allocations: 0 / 0.4919 GB, free: 43.79 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01961/0.6897, allocations: 12.62 MB / 0.5043 GB, free: 31.46 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.6898, allocations: 111.5 kB / 0.5044 GB, free: 31.34 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.6928, allocations: 3.718 MB / 0.508 GB, free: 27.74 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.6929, allocations: 110.5 kB / 0.5081 GB, free: 27.62 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.6944, allocations: 4.936 MB / 0.5129 GB, free: 23.06 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007344/0.6951, allocations: 1.902 MB / 0.5148 GB, free: 21.18 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.6964, allocations: 1.508 MB / 0.5163 GB, free: 19.66 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.138e-05/0.6964, allocations: 476.8 kB / 0.5167 GB, free: 19.2 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.698, allocations: 1.095 MB / 0.5178 GB, free: 18.1 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.7005, allocations: 4.752 MB / 0.5224 GB, free: 11.88 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/0.7051, allocations: 6.48 MB / 0.5288 GB, free: 4.152 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-05/0.7052, allocations: 24 kB / 0.5288 GB, free: 4.129 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.007608/0.7128, allocations: 6.333 MB / 0.535 GB, free: 14.24 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.7128, allocations: 40 kB / 0.535 GB, free: 14.2 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-05/0.7129, allocations: 76.38 kB / 0.5351 GB, free: 14.12 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.7153, allocations: 1.309 MB / 0.5364 GB, free: 12.82 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.7182, allocations: 1.611 MB / 0.5379 GB, free: 11.32 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007651/0.7259, allocations: 6.771 MB / 0.5445 GB, free: 4.473 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.728, allocations: 391.5 kB / 0.5449 GB, free: 4.09 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/0.7284, allocations: 344.8 kB / 0.5452 GB, free: 3.754 MB / 394.8 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.001936/0.7303, allocations: 0.6069 MB / 0.5458 GB, free: 3.246 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007202/0.731, allocations: 0.6337 MB / 0.5465 GB, free: 2.609 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006632/0.7377, allocations: 4.636 MB / 0.551 GB, free: 13.91 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005079/0.7427, allocations: 3.372 MB / 0.5543 GB, free: 10.49 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.7427, allocations: 12 kB / 0.5543 GB, free: 10.48 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/0.7428, allocations: 23.91 kB / 0.5543 GB, free: 10.46 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/0.7598, allocations: 13.18 MB / 0.5672 GB, free: 13.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.7598, allocations: 4 kB / 0.5672 GB, free: 13.36 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/0.7618, allocations: 0.9358 MB / 0.5681 GB, free: 12.46 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/0.7642, allocations: 1.158 MB / 0.5692 GB, free: 11.3 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.7644, allocations: 116 kB / 0.5693 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006951/0.7714, allocations: 6.185 MB / 0.5754 GB, free: 4.914 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7714, allocations: 0 / 0.5754 GB, free: 4.914 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1772/0.9486, allocations: 5.666 MB / 0.5809 GB, free: 107 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/0.9511, allocations: 0.9955 MB / 0.5819 GB, free: 107 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005282/0.9516, allocations: 93.06 kB / 0.582 GB, free: 107 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.9531, allocations: 261.5 kB / 0.5822 GB, free: 107 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009582/0.9541, allocations: 376.7 kB / 0.5826 GB, free: 107 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003106/0.9544, allocations: 155.1 kB / 0.5827 GB, free: 107 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003155/0.9575, allocations: 1.69 MB / 0.5844 GB, free: 106.8 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9575, allocations: 0 / 0.5844 GB, free: 106.8 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006474/0.964, allocations: 1.922 MB / 0.5863 GB, free: 106.8 MB / 426.8 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.0006194/0.9646, allocations: 298.2 kB / 0.5865 GB, free: 106.7 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.008909/0.9736, allocations: 4.942 MB / 0.5914 GB, free: 106.2 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9736, allocations: 0 / 0.5914 GB, free: 106.2 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003919/0.9775, allocations: 2.565 MB / 0.5939 GB, free: 105.9 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/0.9808, allocations: 1.048 MB / 0.5949 GB, free: 105.8 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/1.005, allocations: 16.04 MB / 0.6106 GB, free: 100.1 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/1.008, allocations: 2.979 MB / 0.6135 GB, free: 99.78 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00437/1.012, allocations: 1.937 MB / 0.6154 GB, free: 99.63 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.013, allocations: 437 kB / 0.6158 GB, free: 99.62 MB / 426.8 MB Notification: Performance of SimCode: time 1.643e-06/1.013, allocations: 0 / 0.6158 GB, free: 99.62 MB / 426.8 MB Notification: Performance of Templates: time 0.07997/1.093, allocations: 71.71 MB / 0.6858 GB, free: 34.45 MB / 426.8 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1048760851845145]