Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003146/0.003146, allocations: 71.88 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2684, allocations: 53.41 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01028/0.2787, allocations: 8.004 MB / 439.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.284, allocations: 2.538 MB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.2851, allocations: 75.69 kB / 441.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008547/0.2936, allocations: 3.464 MB / 445.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003846/0.2975, allocations: 0.7486 MB / 446 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.3, allocations: 0.9064 MB / 446.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004902/0.3049, allocations: 3.654 MB / 450.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008602/0.3135, allocations: 6.124 MB / 456.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.3164, allocations: 2.139 MB / 458.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/0.32, allocations: 2.297 MB / 461.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009356/0.3209, allocations: 0.5859 MB / 461.7 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.3225, allocations: 0.8045 MB / 462.5 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.3236, allocations: 1.107 MB / 463.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.3256, allocations: 1.778 MB / 465.4 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008607/0.3342, allocations: 7.959 MB / 473.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3343, allocations: 0 / 473.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3343, allocations: 4 kB / 473.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001474/0.3344, allocations: 0 / 473.3 MB, free: 12.04 MB / 382.1 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.0122/0.3466, allocations: 4.861 MB / 478.2 MB, free: 7.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3467, allocations: 11.98 kB / 478.2 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008913/0.3476, allocations: 0.5962 MB / 478.8 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008009/0.3556, allocations: 1.286 MB / 480.1 MB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/0.3608, allocations: 2.309 MB / 482.4 MB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.3611, allocations: 312.4 kB / 482.7 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007882/0.3619, allocations: 423.9 kB / 483.1 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.3734, allocations: 5.502 MB / 488.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.848e-05/0.3735, allocations: 3.938 kB / 488.6 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003977/0.3739, allocations: 172 kB / 488.8 MB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.3741, allocations: 176.6 kB / 489 MB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008517/0.3826, allocations: 4.796 MB / 493.8 MB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02703/0.4097, allocations: 17.08 MB / 0.4989 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.4138, allocations: 1.741 MB / 0.5006 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.4151, allocations: 0.723 MB / 0.5013 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.4153, allocations: 40.95 kB / 0.5013 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4153, allocations: 47.5 kB / 0.5014 GB, free: 3.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.416e-06/0.4153, allocations: 4 kB / 0.5014 GB, free: 3.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002616/0.418, allocations: 1.566 MB / 0.5029 GB, free: 1.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.418, allocations: 64.34 kB / 0.503 GB, free: 1.586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.42, allocations: 1.396 MB / 0.5043 GB, free: 176 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.42, allocations: 45.7 kB / 0.5044 GB, free: 124 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.4214, allocations: 1.823 MB / 0.5061 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.4217, allocations: 377 kB / 0.5065 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006652/0.4224, allocations: 455.7 kB / 0.5069 GB, free: 13.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4225, allocations: 349.9 kB / 0.5073 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.4238, allocations: 0.8318 MB / 0.5081 GB, free: 12.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.426, allocations: 1.831 MB / 0.5099 GB, free: 9.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/0.4296, allocations: 2.794 MB / 0.5126 GB, free: 6.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.4297, allocations: 8 kB / 0.5126 GB, free: 6.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004575/0.4342, allocations: 2.751 MB / 0.5153 GB, free: 3.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.4343, allocations: 20 kB / 0.5153 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/0.4343, allocations: 36 kB / 0.5154 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.356e-05/0.4344, allocations: 44 kB / 0.5154 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.4362, allocations: 0.5264 MB / 0.5159 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.184e-05/0.4362, allocations: 63.78 kB / 0.516 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.4375, allocations: 302.3 kB / 0.5163 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.4377, allocations: 115.9 kB / 0.5164 GB, free: 2.824 MB / 430.1 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.00227/0.44, allocations: 1.48 MB / 0.5178 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.4402, allocations: 127.2 kB / 0.5179 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.4427, allocations: 1.466 MB / 0.5194 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00162/0.4444, allocations: 1.041 MB / 0.5204 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4444, allocations: 0 / 0.5204 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4444, allocations: 11.92 kB / 0.5204 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.4623, allocations: 10.94 MB / 0.5311 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/0.4623, allocations: 24 kB / 0.5311 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009513/0.4633, allocations: 236.4 kB / 0.5313 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.127e-05/0.4633, allocations: 28 kB / 0.5314 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.4634, allocations: 51.98 kB / 0.5314 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-05/0.4635, allocations: 39.86 kB / 0.5314 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.102e-05/0.4635, allocations: 39.75 kB / 0.5315 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2332/0.6967, allocations: 2.676 MB / 0.5341 GB, free: 96.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.6979, allocations: 260.6 kB / 0.5343 GB, free: 96.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.6982, allocations: 50.41 kB / 0.5344 GB, free: 96.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.6995, allocations: 68.17 kB / 0.5345 GB, free: 96.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/0.6998, allocations: 148 kB / 0.5346 GB, free: 96.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.6999, allocations: 58.55 kB / 0.5347 GB, free: 96.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.7016, allocations: 0.9062 MB / 0.5355 GB, free: 96.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7016, allocations: 2.469 kB / 0.5355 GB, free: 96.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002633/0.7042, allocations: 0.8781 MB / 0.5364 GB, free: 96.32 MB / 446.1 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.003698/0.7079, allocations: 3.309 MB / 0.5396 GB, free: 94.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003541/0.7115, allocations: 1.843 MB / 0.5414 GB, free: 93.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.709e-05/0.7115, allocations: 3.969 kB / 0.5414 GB, free: 93.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.7123, allocations: 0.6214 MB / 0.542 GB, free: 93.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.7144, allocations: 340 kB / 0.5424 GB, free: 93.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/0.7357, allocations: 18.6 MB / 0.5605 GB, free: 79.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/0.7375, allocations: 2.259 MB / 0.5627 GB, free: 77.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001469/0.7389, allocations: 0.7615 MB / 0.5635 GB, free: 77.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.7399, allocations: 1.151 MB / 0.5646 GB, free: 76.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7399, allocations: 0 / 0.5646 GB, free: 76.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06422/0.8042, allocations: 40.46 MB / 0.6041 GB, free: 36.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.97, allocations: 8.062 kB / 0.6041 GB, free: 36.11 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.641839967109263]