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.00113/0.00113, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.00107/0.00107, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.8719/0.8719, allocations: 177.2 MB / 204.3 MB, free: 5.73 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.864e-05, allocations: 8.953 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.00621/0.006228, allocations: 8.02 MB / 332.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.01031, allocations: 2.546 MB / 335.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007412/0.01105, allocations: 79.62 kB / 335.2 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.01447, allocations: 3.666 MB / 338.9 MB, free: 1.559 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.01613, allocations: 0.7836 MB / 339.7 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.01728, allocations: 0.8984 MB / 340.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.0198, allocations: 3.783 MB / 344.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005595/0.0254, allocations: 6.148 MB / 350.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.02803, allocations: 3.179 MB / 353.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.02996, allocations: 2.043 MB / 355.7 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.03044, allocations: 0.5898 MB / 356.3 MB, free: 24 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009135/0.03136, allocations: 0.8082 MB / 357.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005447/0.0319, allocations: 1.13 MB / 358.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.03295, allocations: 1.521 MB / 359.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006477/0.03943, allocations: 8.006 MB / 367.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.03944, allocations: 0 / 367.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.03944, allocations: 0 / 367.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002221/0.03966, allocations: 0 / 367.8 MB, free: 4.531 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.006983/0.04665, allocations: 4.822 MB / 372.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.04669, allocations: 8.031 kB / 372.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005076/0.0472, allocations: 0.5962 MB / 373.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.05092, allocations: 1.286 MB / 374.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/0.05349, allocations: 2.305 MB / 376.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.05364, allocations: 312.6 kB / 377.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/0.05403, allocations: 415.9 kB / 377.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006164/0.06019, allocations: 5.506 MB / 383 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.887e-05/0.06025, allocations: 4 kB / 383 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.0605, allocations: 172 kB / 383.2 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.06062, allocations: 180.6 kB / 383.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/0.06573, allocations: 4.8 MB / 388.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.08137, allocations: 17.09 MB / 405.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.08354, allocations: 1.745 MB / 407 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.08428, allocations: 0.7188 MB / 407.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.08438, allocations: 40.95 kB / 407.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.08441, allocations: 43.56 kB / 407.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.697e-06/0.08441, allocations: 0 / 407.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001587/0.086, allocations: 1.565 MB / 409.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.08603, allocations: 60.41 kB / 409.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.08718, allocations: 1.404 MB / 410.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.08722, allocations: 41.7 kB / 410.9 MB, free: 8.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/0.08789, allocations: 1.823 MB / 412.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.08807, allocations: 372.9 kB / 413 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/0.08844, allocations: 447.7 kB / 413.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.08854, allocations: 353.9 kB / 413.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007632/0.0893, allocations: 0.8318 MB / 414.7 MB, free: 4.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.09048, allocations: 1.827 MB / 416.5 MB, free: 2.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.09255, allocations: 2.794 MB / 419.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.09256, allocations: 11.94 kB / 419.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002477/0.09504, allocations: 2.755 MB / 422.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.09507, allocations: 20 kB / 422.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.0951, allocations: 36 kB / 422.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.785e-05/0.09513, allocations: 48.03 kB / 422.2 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.09615, allocations: 0.5303 MB / 422.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-05/0.09618, allocations: 63.78 kB / 422.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.09693, allocations: 286 kB / 423 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.09703, allocations: 120 kB / 423.1 MB, free: 11.36 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.001501/0.09853, allocations: 1.488 MB / 424.6 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.09865, allocations: 127.2 kB / 424.8 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.1, allocations: 1.466 MB / 426.2 MB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009154/0.101, allocations: 1.041 MB / 427.3 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.101, allocations: 0 / 427.3 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.101, allocations: 3.984 kB / 427.3 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.1111, allocations: 10.94 MB / 438.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.1111, allocations: 20 kB / 438.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.1115, allocations: 231.5 kB / 438.5 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/0.1115, allocations: 31.94 kB / 438.5 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.1116, allocations: 51.98 kB / 438.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/0.1116, allocations: 35.86 kB / 438.6 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/0.1116, allocations: 31.88 kB / 438.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.1137, allocations: 2.626 MB / 441.2 MB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.114, allocations: 274.7 kB / 441.5 MB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.1141, allocations: 51.97 kB / 441.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.1145, allocations: 63.95 kB / 441.6 MB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.1146, allocations: 151.3 kB / 441.8 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.1147, allocations: 59.94 kB / 441.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000774/0.1155, allocations: 0.9062 MB / 442.7 MB, free: 7.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1155, allocations: 64 / 442.7 MB, free: 7.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001791/0.1173, allocations: 0.887 MB / 443.6 MB, free: 6.172 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.002372/0.1196, allocations: 3.255 MB / 446.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.1215, allocations: 1.837 MB / 448.7 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.1215, allocations: 4.375 kB / 448.7 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.1221, allocations: 0.6196 MB / 449.3 MB, free: 152 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1263/0.2484, allocations: 346 kB / 449.7 MB, free: 114.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.2635, allocations: 18.49 MB / 468.2 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.2648, allocations: 2.249 MB / 470.4 MB, free: 99.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009464/0.2658, allocations: 0.7712 MB / 471.2 MB, free: 99.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/0.2665, allocations: 1.149 MB / 472.3 MB, free: 97.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2665, allocations: 0 / 472.3 MB, free: 97.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04385/0.3103, allocations: 40.5 MB / 0.5008 GB, free: 57.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.708, allocations: 15.98 kB / 0.5008 GB, free: 57.68 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] 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: 9.432465373538435]