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.001837/0.001837, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001606/0.001606, allocations: 161.7 kB / 24.27 MB, free: 176 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.459/1.459, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.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.693e-06/1.693e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.103e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01176/0.01179, allocations: 8.013 MB / 280.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006012/0.0178, allocations: 2.553 MB / 282.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.01886, allocations: 79.62 kB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009169/0.02803, allocations: 3.675 MB / 286.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.03101, allocations: 0.7684 MB / 287.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.03342, allocations: 0.8994 MB / 288.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1184/0.1518, allocations: 3.772 MB / 292.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007841/0.1597, allocations: 6.136 MB / 298.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.1641, allocations: 3.176 MB / 301.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.167, allocations: 2.052 MB / 303.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009606/0.168, allocations: 0.5881 MB / 304 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.1694, allocations: 0.8096 MB / 304.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006313/0.17, allocations: 1.126 MB / 306 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.1715, allocations: 1.527 MB / 307.5 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.1766, allocations: 8.003 MB / 315.5 MB, free: 4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1766, allocations: 0 / 315.5 MB, free: 4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1766, allocations: 4.531 kB / 315.5 MB, free: 3.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001313/0.1768, allocations: 0 / 315.5 MB, free: 3.996 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.009789/0.1865, allocations: 4.827 MB / 320.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1866, allocations: 8.031 kB / 320.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00865/0.1952, allocations: 1.778 MB / 322.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005042/0.2003, allocations: 2.404 MB / 324.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.2006, allocations: 319.8 kB / 324.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.2017, allocations: 406.1 kB / 325.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.2131, allocations: 5.512 MB / 330.7 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.2132, allocations: 11.95 kB / 330.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/0.2136, allocations: 164 kB / 330.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.2138, allocations: 180.6 kB / 331.1 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009904/0.2237, allocations: 4.792 MB / 335.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0308/0.2545, allocations: 16.88 MB / 352.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.2589, allocations: 1.755 MB / 354.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.2603, allocations: 0.7183 MB / 355.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.2605, allocations: 52.95 kB / 355.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.2605, allocations: 43.5 kB / 355.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=100): time 3.356e-06/0.2605, allocations: 4 kB / 355.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.002802/0.2633, allocations: 1.6 MB / 356.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2634, allocations: 64.41 kB / 357 MB, free: 10.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.2654, allocations: 1.396 MB / 358.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.2655, allocations: 41.7 kB / 358.4 MB, free: 8.941 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.267, allocations: 1.815 MB / 360.3 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/0.2673, allocations: 377.6 kB / 360.6 MB, free: 6.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006951/0.268, allocations: 451.6 kB / 361.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002936/0.2683, allocations: 349.9 kB / 361.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.2697, allocations: 0.8317 MB / 362.2 MB, free: 5.121 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/0.2721, allocations: 1.825 MB / 364.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/0.2759, allocations: 2.803 MB / 366.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/0.2759, allocations: 16 kB / 366.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004914/0.2808, allocations: 2.85 MB / 369.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.2809, allocations: 27.88 kB / 369.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/0.2809, allocations: 32 kB / 369.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.716e-05/0.281, allocations: 48 kB / 369.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.2828, allocations: 0.5242 MB / 370.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.881e-05/0.2828, allocations: 69.56 kB / 370.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.2842, allocations: 294.4 kB / 370.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.2844, allocations: 112 kB / 370.8 MB, free: 12 MB / 330.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.002516/0.2869, allocations: 1.486 MB / 372.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.2872, allocations: 163.1 kB / 372.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.2898, allocations: 1.469 MB / 373.9 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001667/0.2914, allocations: 1.041 MB / 375 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2914, allocations: 0 / 375 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.2915, allocations: 3.984 kB / 375 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.309, allocations: 10.17 MB / 385.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/0.309, allocations: 20 kB / 385.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009059/0.3099, allocations: 234.6 kB / 385.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.61e-05/0.31, allocations: 31.66 kB / 385.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.445e-05/0.3101, allocations: 48 kB / 385.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-05/0.3101, allocations: 38.83 kB / 385.5 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.299e-05/0.3101, allocations: 34.78 kB / 385.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/0.3143, allocations: 2.669 MB / 388.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006471/0.3149, allocations: 266.9 kB / 388.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.3151, allocations: 51.98 kB / 388.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/0.3159, allocations: 72 kB / 388.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.3161, allocations: 148.3 kB / 388.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.891e-05/0.3162, allocations: 55.98 kB / 388.8 MB, free: 9.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001599/0.3178, allocations: 0.9057 MB / 389.7 MB, free: 8.699 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3178, allocations: 0 / 389.7 MB, free: 8.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002853/0.3206, allocations: 0.8871 MB / 390.6 MB, free: 7.809 MB / 346.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.000422/0.3211, allocations: 205 kB / 390.8 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.3243, allocations: 1.835 MB / 392.6 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.3243, allocations: 4.438 kB / 392.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009989/0.3253, allocations: 0.6193 MB / 393.3 MB, free: 5.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.3274, allocations: 360.8 kB / 393.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.3389, allocations: 6.473 MB / 400.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/0.3419, allocations: 2.256 MB / 402.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001907/0.3438, allocations: 0.7593 MB / 403.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.3441, allocations: 120.3 kB / 403.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/0.3441, allocations: 0 / 403.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.03331/0.3774, allocations: 15.88 MB / 419.1 MB, free: 11.51 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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: 5.0418005179381]