Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.002035/0.002035, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.00194/0.00194, allocations: 183.1 kB / 23.72 MB, free: 4.699 MB / 14.72 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.441/1.441, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 55.91 kB / 370.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2635, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01112/0.2747, allocations: 9.18 MB / 431.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.2805, allocations: 2.604 MB / 434.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.2822, allocations: 79.62 kB / 434.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009141/0.2913, allocations: 3.77 MB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.2957, allocations: 0.9283 MB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.2984, allocations: 0.8074 MB / 440 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005961/0.3043, allocations: 3.654 MB / 443.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.3168, allocations: 6.19 MB / 449.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004587/0.3214, allocations: 2.135 MB / 452 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005499/0.3269, allocations: 2.387 MB / 454.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001885/0.3288, allocations: 0.5859 MB / 455 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.3321, allocations: 0.8005 MB / 455.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.3342, allocations: 1.107 MB / 456.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005047/0.3392, allocations: 2.28 MB / 459.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.353, allocations: 7.909 MB / 467.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.912e-06/0.353, allocations: 0 / 467.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.353, allocations: 0 / 467.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002531/0.3532, allocations: 0 / 467.1 MB, free: 1.961 MB / 366.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.02012/0.3734, allocations: 4.861 MB / 471.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.3734, allocations: 12.03 kB / 471.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002436/0.3759, allocations: 0.5922 MB / 472.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.3865, allocations: 1.294 MB / 473.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006083/0.3926, allocations: 2.298 MB / 476.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004529/0.393, allocations: 312.4 kB / 476.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.3947, allocations: 416 kB / 476.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.4088, allocations: 5.465 MB / 482.3 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.4089, allocations: 3.953 kB / 482.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005665/0.4095, allocations: 176 kB / 482.5 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/0.4097, allocations: 180.5 kB / 482.6 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009442/0.4192, allocations: 4.8 MB / 487.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02965/0.4488, allocations: 18.53 MB / 0.4941 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003948/0.4528, allocations: 1.76 MB / 0.4958 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.454, allocations: 0.7191 MB / 0.4965 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.4542, allocations: 36.95 kB / 0.4966 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.4542, allocations: 43.56 kB / 0.4966 GB, free: 7.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.056e-06/0.4542, allocations: 0 / 0.4966 GB, free: 7.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002606/0.4568, allocations: 1.558 MB / 0.4981 GB, free: 6.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.4569, allocations: 64.41 kB / 0.4982 GB, free: 6.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.4589, allocations: 1.338 MB / 0.4995 GB, free: 4.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.549e-05/0.459, allocations: 41.7 kB / 0.4995 GB, free: 4.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.4605, allocations: 1.831 MB / 0.5013 GB, free: 2.852 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.4609, allocations: 377 kB / 0.5017 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000637/0.4615, allocations: 451.7 kB / 0.5021 GB, free: 2.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.4617, allocations: 349.9 kB / 0.5025 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.463, allocations: 0.8317 MB / 0.5033 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.4652, allocations: 1.823 MB / 0.505 GB, free: 14.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/0.4688, allocations: 2.794 MB / 0.5078 GB, free: 11.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.4688, allocations: 8 kB / 0.5078 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004352/0.4732, allocations: 2.739 MB / 0.5105 GB, free: 8.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.4732, allocations: 23.94 kB / 0.5105 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.935e-05/0.4733, allocations: 32 kB / 0.5105 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.739e-05/0.4733, allocations: 48 kB / 0.5106 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.4751, allocations: 0.5225 MB / 0.5111 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.934e-05/0.4752, allocations: 72.22 kB / 0.5111 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4766, allocations: 294 kB / 0.5114 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.4769, allocations: 119.9 kB / 0.5115 GB, free: 7.418 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.002533/0.4794, allocations: 1.48 MB / 0.513 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.4797, allocations: 127.2 kB / 0.5131 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.4822, allocations: 1.462 MB / 0.5145 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00155/0.4838, allocations: 1.033 MB / 0.5155 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4838, allocations: 0 / 0.5155 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.4838, allocations: 7.969 kB / 0.5155 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/0.5021, allocations: 10.95 MB / 0.5262 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.565e-05/0.5022, allocations: 24 kB / 0.5263 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.5031, allocations: 227.7 kB / 0.5265 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.382e-05/0.5031, allocations: 32 kB / 0.5265 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.5032, allocations: 47.98 kB / 0.5266 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.87e-05/0.5033, allocations: 39.86 kB / 0.5266 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.348e-05/0.5033, allocations: 31.88 kB / 0.5266 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.507, allocations: 2.656 MB / 0.5292 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/0.5077, allocations: 278.8 kB / 0.5295 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.5079, allocations: 43.98 kB / 0.5295 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008893/0.5088, allocations: 71.94 kB / 0.5296 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.509, allocations: 151.2 kB / 0.5297 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/0.5091, allocations: 56 kB / 0.5298 GB, free: 4.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001562/0.5107, allocations: 0.9062 MB / 0.5307 GB, free: 3.102 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5107, allocations: 0 / 0.5307 GB, free: 3.102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002732/0.5134, allocations: 0.8871 MB / 0.5315 GB, free: 2.211 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.004315/0.5177, allocations: 3.305 MB / 0.5348 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003244/0.5209, allocations: 1.833 MB / 0.5366 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-05/0.521, allocations: 7.938 kB / 0.5366 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.522, allocations: 0.6101 MB / 0.5372 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.5242, allocations: 339.3 kB / 0.5375 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2312/0.7553, allocations: 18.63 MB / 0.5557 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.7573, allocations: 2.803 MB / 0.5584 GB, free: 115.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001525/0.7589, allocations: 0.7643 MB / 0.5592 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.7599, allocations: 1.141 MB / 0.5603 GB, free: 114.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7599, allocations: 2.516 kB / 0.5603 GB, free: 114.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09702/0.8569, allocations: 41.58 MB / 0.6009 GB, free: 77.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14, allocations: 4 kB / 0.6009 GB, free: 77.57 MB / 462.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 16.59172189189121]