Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.0009497/0.0009497, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001064/0.001064, allocations: 165.2 kB / 24.99 MB, free: 8.793 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.9118/0.9118, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 273.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.46e-05, allocations: 2.312 kB / 273.1 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007126/0.00714, allocations: 8.835 MB / 281.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.01093, allocations: 2.589 MB / 284.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/0.01143, allocations: 79.62 kB / 284.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004291/0.01572, allocations: 3.99 MB / 288.6 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.01794, allocations: 0.7684 MB / 289.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.01929, allocations: 0.9112 MB / 290.2 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1105/0.1297, allocations: 3.773 MB / 294 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008338/0.1381, allocations: 6.141 MB / 300.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.1433, allocations: 3.208 MB / 303.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.1466, allocations: 2.283 MB / 305.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.1476, allocations: 0.5851 MB / 306.2 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.1491, allocations: 0.8097 MB / 307 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006429/0.1497, allocations: 1.147 MB / 308.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.1515, allocations: 1.542 MB / 309.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003627/0.1551, allocations: 3.974 MB / 313.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1551, allocations: 0.7188 kB / 313.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1551, allocations: 0 / 313.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.347e-05/0.1552, allocations: 0.5625 kB / 313.7 MB, free: 5.922 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.008386/0.1635, allocations: 5.29 MB / 319 MB, free: 1.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1636, allocations: 8.031 kB / 319 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.1746, allocations: 1.782 MB / 320.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.1776, allocations: 2.175 MB / 323 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.1778, allocations: 317.3 kB / 323.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005112/0.1783, allocations: 408 kB / 323.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00533/0.1836, allocations: 2.505 MB / 326.2 MB, free: 9.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.681e-05/0.1837, allocations: 11.95 kB / 326.2 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003351/0.184, allocations: 170.2 kB / 326.3 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.1842, allocations: 183.9 kB / 326.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004073/0.1883, allocations: 1.538 MB / 328.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.2075, allocations: 15.72 MB / 343.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.2103, allocations: 1.531 MB / 345.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/0.211, allocations: 414.7 kB / 345.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.2112, allocations: 51.95 kB / 345.8 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.2112, allocations: 46.33 kB / 345.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.477e-06/0.2112, allocations: 0 / 345.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.001483/0.2127, allocations: 0.8001 MB / 346.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2127, allocations: 60.41 kB / 346.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.2145, allocations: 1.399 MB / 348.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.2145, allocations: 41.7 kB / 348.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.2156, allocations: 1.955 MB / 350.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.2159, allocations: 383 kB / 350.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006114/0.2165, allocations: 0.5131 MB / 351 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2167, allocations: 0.5277 MB / 351.5 MB, free: 420 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/0.2173, allocations: 284.1 kB / 351.8 MB, free: 132 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.2187, allocations: 1.779 MB / 353.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.2209, allocations: 2.257 MB / 355.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-05/0.2209, allocations: 8 kB / 355.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002866/0.2238, allocations: 1.77 MB / 357.6 MB, free: 9.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.2238, allocations: 24.16 kB / 357.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/0.2239, allocations: 36 kB / 357.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.027e-05/0.2239, allocations: 48 kB / 357.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.2252, allocations: 0.5205 MB / 358.2 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.133e-05/0.2253, allocations: 69.56 kB / 358.3 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.2263, allocations: 286.1 kB / 358.5 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.2265, allocations: 124 kB / 358.7 MB, free: 8.328 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000867/0.2273, allocations: 307.4 kB / 359 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.2276, allocations: 162 kB / 359.1 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.229, allocations: 0.9382 MB / 360.1 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006626/0.2297, allocations: 0.5064 MB / 360.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2297, allocations: 0 / 360.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2297, allocations: 6.891 kB / 360.6 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006859/0.2366, allocations: 4.949 MB / 365.5 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.2366, allocations: 24 kB / 365.5 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.237, allocations: 229.7 kB / 365.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/0.237, allocations: 31.47 kB / 365.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.2371, allocations: 47.98 kB / 365.8 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.976e-05/0.2371, allocations: 39.2 kB / 365.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/0.2371, allocations: 34.12 kB / 365.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.2389, allocations: 1.933 MB / 367.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.2393, allocations: 238.9 kB / 368.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.2394, allocations: 55.91 kB / 368.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.2398, allocations: 59.95 kB / 368.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.2399, allocations: 151.6 kB / 368.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.24, allocations: 60 kB / 368.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006949/0.2407, allocations: 0.6327 MB / 369 MB, free: 13.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2407, allocations: 0 / 369 MB, free: 13.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002026/0.2427, allocations: 0.8868 MB / 369.9 MB, free: 12.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003094/0.243, allocations: 207.4 kB / 370.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.2446, allocations: 1.136 MB / 371.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.2446, allocations: 0 / 371.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.2451, allocations: 344.7 kB / 371.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.2463, allocations: 347.8 kB / 371.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007252/0.2536, allocations: 5.833 MB / 377.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/0.2544, allocations: 1.003 MB / 378.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001036/0.2554, allocations: 0.6717 MB / 379.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.2556, allocations: 120.5 kB / 379.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of SimCode: time 1.884e-06/0.2556, allocations: 0 / 379.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of Templates: time 0.02316/0.2788, allocations: 15.78 MB / 395.3 MB, free: 3.121 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.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.0742621629033238]