Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.00143/0.00143, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001619/0.001619, allocations: 153.6 kB / 24.8 MB, free: 9.289 MB / 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.058/1.058, allocations: 173.4 MB / 201.4 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.921e-05, allocations: 6.25 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01133/0.01136, allocations: 12.98 MB / 281.4 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00763/0.01899, allocations: 3.714 MB / 285.1 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.02124, allocations: 115.5 kB / 285.2 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1259/0.1472, allocations: 5.767 MB / 291 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.1523, allocations: 1.575 MB / 292.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.1546, allocations: 1.053 MB / 293.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006951/0.1616, allocations: 6.597 MB / 300.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.1725, allocations: 9.082 MB / 309.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005851/0.1784, allocations: 4.986 MB / 314.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004196/0.1825, allocations: 3.81 MB / 318.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.1843, allocations: 0.8867 MB / 319 MB, free: 2.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.1864, allocations: 1.067 MB / 320 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008943/0.1873, allocations: 1.837 MB / 321.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003772/0.191, allocations: 2.425 MB / 324.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006947/0.198, allocations: 6.14 MB / 330.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.198, allocations: 0 / 330.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.198, allocations: 4 kB / 330.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002964/0.1983, allocations: 0 / 330.5 MB, free: 7.602 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01187/0.2101, allocations: 7.987 MB / 338.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2102, allocations: 12.92 kB / 338.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009605/0.2198, allocations: 3.557 MB / 342 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/0.2251, allocations: 3.281 MB / 345.3 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.2254, allocations: 484.1 kB / 345.8 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009364/0.2264, allocations: 0.6288 MB / 346.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008429/0.2348, allocations: 4.98 MB / 351.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.2349, allocations: 14.12 kB / 351.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/0.2353, allocations: 265.5 kB / 351.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.2356, allocations: 313.4 kB / 352 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004102/0.2397, allocations: 2.189 MB / 354.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.2668, allocations: 22.94 MB / 377.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/0.2705, allocations: 2.797 MB / 379.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008336/0.2714, allocations: 0.7145 MB / 380.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.2715, allocations: 81.91 kB / 380.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.2716, allocations: 67.38 kB / 380.7 MB, free: 6.762 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 4.789e-06/0.2716, allocations: 0 / 380.7 MB, free: 6.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.003816/0.2754, allocations: 2.164 MB / 382.9 MB, free: 4.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.2755, allocations: 107.1 kB / 383 MB, free: 4.488 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.2773, allocations: 1.885 MB / 384.9 MB, free: 2.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-05/0.2774, allocations: 65.7 kB / 385 MB, free: 2.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.2787, allocations: 2.817 MB / 387.8 MB, free: 8 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000554/0.2792, allocations: 0.8698 MB / 388.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009752/0.2802, allocations: 0.7563 MB / 389.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.2803, allocations: 476.8 kB / 389.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.2809, allocations: 402.6 kB / 390.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.2822, allocations: 2.204 MB / 392.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.2848, allocations: 2.898 MB / 395.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/0.2849, allocations: 12 kB / 395.4 MB, free: 7.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003276/0.2881, allocations: 2.615 MB / 398 MB, free: 5.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.2882, allocations: 24.62 kB / 398 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.566e-05/0.2882, allocations: 36 kB / 398 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/0.2889, allocations: 309.7 kB / 398.3 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.2904, allocations: 0.7257 MB / 399.1 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.294, allocations: 5.084 MB / 404.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.2954, allocations: 365.2 kB / 404.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.2955, allocations: 136 kB / 404.6 MB, free: 14.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001297/0.2968, allocations: 391.1 kB / 405 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.2972, allocations: 286.6 kB / 405.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.2992, allocations: 1.878 MB / 407.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.2993, allocations: 24 kB / 407.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.2993, allocations: 4 kB / 407.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.2993, allocations: 15.95 kB / 407.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009245/0.3085, allocations: 6.939 MB / 414.2 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.3085, allocations: 16 kB / 414.2 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/0.3094, allocations: 400.1 kB / 414.6 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/0.3099, allocations: 261.1 kB / 414.8 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.31, allocations: 67.98 kB / 414.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/0.3134, allocations: 5.036 MB / 419.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.3134, allocations: 22.84 kB / 420 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.3162, allocations: 2.828 MB / 422.8 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007518/0.317, allocations: 423.1 kB / 423.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.3172, allocations: 67.94 kB / 423.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.3178, allocations: 87.95 kB / 423.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.3181, allocations: 211.2 kB / 423.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/0.3182, allocations: 67.98 kB / 423.6 MB, free: 11.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008743/0.319, allocations: 0.8108 MB / 424.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.319, allocations: 0 / 424.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003656/0.3227, allocations: 1.456 MB / 425.9 MB, free: 9.332 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * 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 (226): * Single equations (assignments): 224 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004048/0.3231, allocations: 214.4 kB / 426.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.3258, allocations: 2.214 MB / 428.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.3258, allocations: 7.656 kB / 428.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3269, allocations: 1.169 MB / 429.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.3285, allocations: 0.5158 MB / 430 MB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1244/0.4528, allocations: 8.685 MB / 438.7 MB, free: 103.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.4546, allocations: 1.549 MB / 440.2 MB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001333/0.4559, allocations: 399.5 kB / 440.6 MB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/0.4569, allocations: 0.5599 MB / 441.2 MB, free: 103.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4569, allocations: 4.844 kB / 441.2 MB, free: 103.4 MB / 378.7 MB Notification: Performance of Templates: time 0.04328/0.5001, allocations: 31.95 MB / 473.1 MB, free: 89.37 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.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: 3.5850680810399354]