Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.0009805/0.0009805, allocations: 87.58 kB / 21.19 MB, free: 3.383 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.0009794/0.0009794, allocations: 165 kB / 24.56 MB, free: 16 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 0.9528/0.9528, allocations: 177.1 MB / 205 MB, free: 5.617 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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.548e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.00928/0.009295, allocations: 13.48 MB / 286.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.01485, allocations: 3.773 MB / 290.2 MB, free: 200 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.01591, allocations: 115.5 kB / 290.4 MB, free: 84 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1213/0.1372, allocations: 5.951 MB / 296.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.1415, allocations: 1.438 MB / 297.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.1434, allocations: 1.189 MB / 298.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.1494, allocations: 6.693 MB / 305.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009589/0.159, allocations: 9.083 MB / 314.7 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004631/0.1636, allocations: 4.983 MB / 319.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003819/0.1674, allocations: 3.801 MB / 323.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001885/0.1693, allocations: 0.8867 MB / 324.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.1712, allocations: 1.092 MB / 325.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.1722, allocations: 1.827 MB / 327.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002867/0.1751, allocations: 2.426 MB / 329.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005402/0.1805, allocations: 6.157 MB / 335.9 MB, free: 2.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1805, allocations: 7.984 kB / 335.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1805, allocations: 4 kB / 335.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002228/0.1807, allocations: 3.938 kB / 335.9 MB, free: 2.352 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.01062/0.1913, allocations: 8.436 MB / 344.3 MB, free: 9.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1913, allocations: 12.03 kB / 344.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009889/0.2012, allocations: 3.757 MB / 348.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004065/0.2053, allocations: 3.539 MB / 351.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.2055, allocations: 487.9 kB / 352.1 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000677/0.2062, allocations: 0.6236 MB / 352.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008037/0.2143, allocations: 5.44 MB / 358.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.2144, allocations: 11.94 kB / 358.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003895/0.2147, allocations: 265.3 kB / 358.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/0.215, allocations: 313.4 kB / 358.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005429/0.2204, allocations: 2.768 MB / 361.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/0.2475, allocations: 23.28 MB / 384.8 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00473/0.2522, allocations: 3.427 MB / 388.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.2533, allocations: 0.831 MB / 389.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.2535, allocations: 85.88 kB / 389.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/0.2536, allocations: 59.39 kB / 389.2 MB, free: 13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 7.344e-06/0.2536, allocations: 0 / 389.2 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=238): time 0.004444/0.258, allocations: 2.45 MB / 391.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.2581, allocations: 103.1 kB / 391.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.2602, allocations: 1.957 MB / 393.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.2603, allocations: 65.7 kB / 393.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.2616, allocations: 2.805 MB / 396.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/0.2622, allocations: 0.8583 MB / 397.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006968/0.2629, allocations: 0.7614 MB / 398.2 MB, free: 3.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.263, allocations: 484.7 kB / 398.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/0.2638, allocations: 0.5181 MB / 399.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.2654, allocations: 2.311 MB / 401.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/0.268, allocations: 3.114 MB / 404.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/0.2681, allocations: 12 kB / 404.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003717/0.2718, allocations: 2.913 MB / 407.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.2718, allocations: 24 kB / 407.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-05/0.2719, allocations: 36 kB / 407.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007211/0.2726, allocations: 302.4 kB / 407.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.274, allocations: 0.7838 MB / 408.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.2778, allocations: 5.221 MB / 413.9 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.279, allocations: 417.1 kB / 414.3 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.2791, allocations: 168 kB / 414.5 MB, free: 1.945 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.001187/0.2803, allocations: 391.3 kB / 414.9 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.2806, allocations: 294.6 kB / 415.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.2831, allocations: 2.035 MB / 417.2 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.2831, allocations: 24 kB / 417.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2831, allocations: 7.938 kB / 417.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.2832, allocations: 15.95 kB / 417.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009303/0.2925, allocations: 7.321 MB / 424.5 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.2925, allocations: 16 kB / 424.6 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009228/0.2934, allocations: 443.3 kB / 425 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/0.2939, allocations: 266.3 kB / 425.3 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.2941, allocations: 71.97 kB / 425.3 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.2974, allocations: 5.152 MB / 430.5 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.2974, allocations: 23.88 kB / 430.5 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1347/0.4321, allocations: 3.12 MB / 433.6 MB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/0.433, allocations: 452.3 kB / 434.1 MB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.4332, allocations: 65.11 kB / 434.1 MB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.434, allocations: 122.3 kB / 434.2 MB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/0.4343, allocations: 214.2 kB / 434.5 MB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.4345, allocations: 88.44 kB / 434.5 MB, free: 93.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001295/0.4358, allocations: 0.8855 MB / 435.4 MB, free: 93.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.4358, allocations: 0 / 435.4 MB, free: 93.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003242/0.439, allocations: 1.457 MB / 436.9 MB, free: 93.39 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.0004289/0.4394, allocations: 227.7 kB / 437.1 MB, free: 93.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.4429, allocations: 2.424 MB / 439.5 MB, free: 92.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/0.443, allocations: 2.312 kB / 439.5 MB, free: 92.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.4443, allocations: 1.237 MB / 440.8 MB, free: 92.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.446, allocations: 0.5259 MB / 441.3 MB, free: 92.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4566, allocations: 8.734 MB / 450 MB, free: 88.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.4578, allocations: 1.549 MB / 451.6 MB, free: 88.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001723/0.4595, allocations: 1.038 MB / 452.6 MB, free: 88.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.4599, allocations: 205.6 kB / 452.8 MB, free: 88.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4599, allocations: 0 / 452.8 MB, free: 88.38 MB / 378.7 MB Notification: Performance of Templates: time 0.03789/0.4978, allocations: 31.69 MB / 484.5 MB, free: 67.13 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6393841048702598]