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_Inverter.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.002525/0.002525, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001938/0.001938, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.375e-05, allocations: 2.312 kB / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1778/0.1778, allocations: 21.07 MB / 293.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.1928, allocations: 6.693 MB / 300.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005667/0.1984, allocations: 172.1 kB / 300.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01729/0.2157, allocations: 7.283 MB / 307.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.226, allocations: 2.869 MB / 310.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005711/0.2317, allocations: 1.581 MB / 312 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.2426, allocations: 9.463 MB / 321.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02071/0.2633, allocations: 10.94 MB / 332.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01574/0.279, allocations: 7.044 MB / 339.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.2899, allocations: 4.905 MB / 344.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003846/0.2937, allocations: 1.352 MB / 345.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006329/0.3, allocations: 1.698 MB / 347.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004905/0.3049, allocations: 2.708 MB / 350.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009842/0.3148, allocations: 3.369 MB / 353.5 MB, free: 1.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02659/0.3414, allocations: 18.65 MB / 372.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3414, allocations: 0 / 372.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3414, allocations: 0 / 372.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004398/0.3418, allocations: 4 kB / 372.1 MB, free: 15.12 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: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03843/0.3803, allocations: 12.22 MB / 384.4 MB, free: 2.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3803, allocations: 8.031 kB / 384.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03788/0.4182, allocations: 7.292 MB / 391.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/0.4334, allocations: 5.552 MB / 397.2 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006365/0.434, allocations: 0.5578 MB / 397.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003224/0.4373, allocations: 0.7343 MB / 398.5 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0306/0.4679, allocations: 13.23 MB / 411.7 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.4681, allocations: 11.95 kB / 411.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000992/0.469, allocations: 308 kB / 412 MB, free: 6.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006156/0.4697, allocations: 0.4922 MB / 412.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0243/0.494, allocations: 11.13 MB / 423.7 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2271/0.721, allocations: 88.9 MB / 0.5006 GB, free: 46.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.7324, allocations: 7.964 MB / 0.5083 GB, free: 40.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/0.7356, allocations: 2.463 MB / 0.5107 GB, free: 37.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.7359, allocations: 119.1 kB / 0.5109 GB, free: 37.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.7359, allocations: 80.61 kB / 0.5109 GB, free: 37.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 7.084e-06/0.7359, allocations: 0 / 0.5109 GB, free: 37.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.03029/0.7662, allocations: 14.63 MB / 0.5252 GB, free: 22.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.7663, allocations: 98.61 kB / 0.5253 GB, free: 22.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004414/0.7707, allocations: 3.983 MB / 0.5292 GB, free: 18.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002512/0.7709, allocations: 93.7 kB / 0.5293 GB, free: 18.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.7725, allocations: 3.557 MB / 0.5328 GB, free: 15.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/0.7735, allocations: 1.614 MB / 0.5343 GB, free: 13.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/0.775, allocations: 1.261 MB / 0.5356 GB, free: 12.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.775, allocations: 476.8 kB / 0.536 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/0.7776, allocations: 2.001 MB / 0.538 GB, free: 9.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003529/0.7811, allocations: 4.616 MB / 0.5425 GB, free: 4.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009155/0.7903, allocations: 7.354 MB / 0.5497 GB, free: 11.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.143e-05/0.7904, allocations: 16 kB / 0.5497 GB, free: 11.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01488/0.8052, allocations: 7.269 MB / 0.5568 GB, free: 4.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.8053, allocations: 28 kB / 0.5568 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.88e-05/0.8054, allocations: 48 kB / 0.5569 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004522/0.8099, allocations: 1.399 MB / 0.5582 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/0.8145, allocations: 1.131 MB / 0.5593 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/0.8336, allocations: 11.84 MB / 0.5709 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/0.8373, allocations: 263.8 kB / 0.5711 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000613/0.8379, allocations: 232 kB / 0.5714 GB, free: 5.285 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005273/0.8432, allocations: 2.716 MB / 0.574 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/0.8443, allocations: 477.8 kB / 0.5745 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1544/0.9987, allocations: 5.686 MB / 0.58 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/0.9987, allocations: 42.56 kB / 0.5801 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/0.9988, allocations: 10.19 kB / 0.5801 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.073e-05/0.9988, allocations: 20.81 kB / 0.5801 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02856/1.027, allocations: 16.3 MB / 0.596 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.027, allocations: 5.938 kB / 0.596 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002773/1.03, allocations: 0.7465 MB / 0.5967 GB, free: 122.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/1.034, allocations: 1.265 MB / 0.598 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/1.034, allocations: 101.8 kB / 0.5981 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/1.045, allocations: 10.82 MB / 0.6086 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.045, allocations: 11.75 kB / 0.6087 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.058, allocations: 8.415 MB / 0.6169 GB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/1.06, allocations: 0.7885 MB / 0.6176 GB, free: 111.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/1.061, allocations: 87.25 kB / 0.6177 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.063, allocations: 201.7 kB / 0.6179 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/1.063, allocations: 320.9 kB / 0.6182 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/1.064, allocations: 126.3 kB / 0.6183 GB, free: 110.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002587/1.066, allocations: 2.065 MB / 0.6204 GB, free: 109.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.066, allocations: 0 / 0.6204 GB, free: 109.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004697/1.071, allocations: 1.385 MB / 0.6217 GB, free: 108.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006219/1.072, allocations: 271.9 kB / 0.622 GB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009358/1.081, allocations: 6.186 MB / 0.628 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.081, allocations: 0 / 0.628 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004952/1.086, allocations: 3.279 MB / 0.6312 GB, free: 98.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.089, allocations: 0.7647 MB / 0.632 GB, free: 97.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.107, allocations: 13.22 MB / 0.6449 GB, free: 84.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003295/1.111, allocations: 4.213 MB / 0.649 GB, free: 80.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003342/1.114, allocations: 1.335 MB / 0.6503 GB, free: 78.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009548/1.115, allocations: 324.4 kB / 0.6506 GB, free: 78.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/1.115, allocations: 0 / 0.6506 GB, free: 78.56 MB / 410.7 MB Notification: Performance of Templates: time 0.08487/1.2, allocations: 54.95 MB / 0.7043 GB, free: 24.27 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_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_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.739447172032669]