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.000806/0.000806, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007874/0.0007874, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8903/0.8903, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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 1.603e-06/1.603e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.965e-05, allocations: 6.984 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006662/0.006681, allocations: 8.013 MB / 332.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.01084, allocations: 2.542 MB / 335.1 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.01195, allocations: 79.62 kB / 335.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004257/0.01621, allocations: 3.68 MB / 338.8 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.0186, allocations: 0.78 MB / 339.6 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.02017, allocations: 0.895 MB / 340.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.02362, allocations: 3.784 MB / 344.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007421/0.03104, allocations: 6.148 MB / 350.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00361/0.03465, allocations: 3.171 MB / 353.6 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.03715, allocations: 2.051 MB / 355.7 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.03821, allocations: 0.5859 MB / 356.2 MB, free: 0 / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.03992, allocations: 0.8121 MB / 357.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.0411, allocations: 1.122 MB / 358.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.04339, allocations: 1.517 MB / 359.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006889/0.05028, allocations: 8.013 MB / 367.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.05028, allocations: 0 / 367.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.05028, allocations: 0 / 367.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002233/0.05051, allocations: 4 kB / 367.7 MB, free: 4.504 MB / 330.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.008851/0.05936, allocations: 4.824 MB / 372.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.05941, allocations: 11.98 kB / 372.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006895/0.0601, allocations: 0.5962 MB / 373.1 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/0.06411, allocations: 1.282 MB / 374.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.0671, allocations: 2.309 MB / 376.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.06728, allocations: 314.3 kB / 377 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.06775, allocations: 412 kB / 377.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006955/0.0747, allocations: 5.506 MB / 383 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.658e-05/0.07477, allocations: 3.953 kB / 383 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/0.07504, allocations: 168 kB / 383.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.07517, allocations: 188.5 kB / 383.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005958/0.08113, allocations: 4.796 MB / 388.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.09916, allocations: 17.09 MB / 405.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.1015, allocations: 1.749 MB / 406.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/0.1023, allocations: 0.7226 MB / 407.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.1024, allocations: 44.95 kB / 407.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1024, allocations: 39.56 kB / 407.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.186e-06/0.1024, allocations: 0 / 407.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001693/0.1041, allocations: 1.565 MB / 409.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1041, allocations: 68.39 kB / 409.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.1055, allocations: 1.404 MB / 410.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.1055, allocations: 41.7 kB / 410.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007804/0.1063, allocations: 1.815 MB / 412.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.1065, allocations: 380.9 kB / 413 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/0.1069, allocations: 447.6 kB / 413.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.107, allocations: 349.9 kB / 413.8 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007888/0.1078, allocations: 0.8317 MB / 414.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.109, allocations: 1.816 MB / 416.4 MB, free: 2.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.1111, allocations: 2.806 MB / 419.2 MB, free: 15.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.1111, allocations: 8 kB / 419.2 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002637/0.1137, allocations: 2.746 MB / 422 MB, free: 12.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.1137, allocations: 20.94 kB / 422 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.1138, allocations: 35.94 kB / 422.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.014e-05/0.1138, allocations: 48 kB / 422.1 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/0.1147, allocations: 0.5264 MB / 422.6 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.734e-05/0.1148, allocations: 67.73 kB / 422.7 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.1155, allocations: 298 kB / 423 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.1157, allocations: 112 kB / 423.1 MB, free: 11.33 MB / 394.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.001576/0.1172, allocations: 1.488 MB / 424.6 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.1174, allocations: 127.2 kB / 424.7 MB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.1189, allocations: 1.454 MB / 426.2 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009753/0.1199, allocations: 1.053 MB / 427.2 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1199, allocations: 0 / 427.2 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1199, allocations: 3.984 kB / 427.2 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.1312, allocations: 10.94 MB / 438.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.1312, allocations: 23.94 kB / 438.2 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.1316, allocations: 227.5 kB / 438.4 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.922e-05/0.1317, allocations: 28 kB / 438.4 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.1317, allocations: 51.98 kB / 438.5 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.153e-05/0.1317, allocations: 47.8 kB / 438.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.37e-05/0.1317, allocations: 31.88 kB / 438.6 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.134, allocations: 2.63 MB / 441.2 MB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.1344, allocations: 266.8 kB / 441.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1345, allocations: 47.94 kB / 441.5 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.1349, allocations: 71.94 kB / 441.6 MB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.1351, allocations: 143.3 kB / 441.7 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.1351, allocations: 63.98 kB / 441.8 MB, free: 7.945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009262/0.136, allocations: 0.9062 MB / 442.7 MB, free: 7.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.136, allocations: 0 / 442.7 MB, free: 7.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001911/0.138, allocations: 0.8832 MB / 443.6 MB, free: 6.145 MB / 410.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.002835/0.1408, allocations: 3.263 MB / 446.8 MB, free: 2.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.1429, allocations: 1.837 MB / 448.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.1429, allocations: 0 / 448.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.1435, allocations: 0.616 MB / 449.3 MB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1284/0.2719, allocations: 333 kB / 449.6 MB, free: 114.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/0.2883, allocations: 18.5 MB / 468.1 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.2896, allocations: 2.255 MB / 470.4 MB, free: 99.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009646/0.2906, allocations: 0.7667 MB / 471.1 MB, free: 99.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007/0.2913, allocations: 1.145 MB / 472.3 MB, free: 98.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2913, allocations: 0 / 472.3 MB, free: 98.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04506/0.3363, allocations: 40.49 MB / 0.5007 GB, free: 57.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.067, allocations: 11.92 kB / 0.5008 GB, free: 57.8 MB / 410.7 MB " [Timeout remaining time 652] (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/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_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: 9.802660239860415]