Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.001121/0.001121, allocations: 79.7 kB / 21.43 MB, free: 3.129 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.004847/0.004847, allocations: 167 kB / 24.69 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9054/0.9054, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.265e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.1348/0.1348, allocations: 8.806 MB / 307.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.1383, allocations: 2.717 MB / 310 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005175/0.1389, allocations: 79.88 kB / 310 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.1423, allocations: 4.151 MB / 314.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.1438, allocations: 0.8995 MB / 315.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1449, allocations: 0.9369 MB / 316 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.1473, allocations: 4.467 MB / 320.5 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005388/0.1526, allocations: 7.133 MB / 327.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.1555, allocations: 3.72 MB / 331.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.1573, allocations: 2.416 MB / 333.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004764/0.1578, allocations: 0.6758 MB / 334.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009087/0.1587, allocations: 0.8941 MB / 335.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009841/0.1597, allocations: 1.34 MB / 336.7 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.1608, allocations: 1.782 MB / 338.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004918/0.1657, allocations: 9.175 MB / 347.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1657, allocations: 0 / 347.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1657, allocations: 4 kB / 347.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.517e-05/0.1658, allocations: 0 / 347.6 MB, free: 13.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.006384/0.1722, allocations: 5.554 MB / 353.2 MB, free: 7.891 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1722, allocations: 11.98 kB / 353.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006027/0.1728, allocations: 0.6911 MB / 353.9 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006301/0.1791, allocations: 2.409 MB / 356.3 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.1819, allocations: 2.379 MB / 358.7 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.1821, allocations: 370.4 kB / 359 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/0.1825, allocations: 483.9 kB / 359.5 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007393/0.1899, allocations: 6.67 MB / 366.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.19, allocations: 3.953 kB / 366.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.1903, allocations: 200 kB / 366.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.1904, allocations: 230.1 kB / 366.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006772/0.1972, allocations: 6.09 MB / 372.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.2159, allocations: 19.83 MB / 392.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/0.22, allocations: 3.033 MB / 395.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007327/0.2207, allocations: 0.7371 MB / 396.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002529/0.2232, allocations: 1.979 MB / 398.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.2233, allocations: 30.56 kB / 398.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.2233, allocations: 0 / 398.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000357/0.2236, allocations: 248.6 kB / 398.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2236, allocations: 51.41 kB / 398.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.2257, allocations: 2.249 MB / 400.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2257, allocations: 33.7 kB / 400.9 MB, free: 7.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.227, allocations: 2.463 MB / 403.3 MB, free: 5.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.2271, allocations: 71.73 kB / 403.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005158/0.2276, allocations: 0.5471 MB / 404 MB, free: 4.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2278, allocations: 353.9 kB / 404.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/0.2286, allocations: 0.8127 MB / 405.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.2301, allocations: 2.235 MB / 407.4 MB, free: 356 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/0.2325, allocations: 2.964 MB / 410.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.2325, allocations: 16 kB / 410.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.002837/0.2354, allocations: 3.02 MB / 413.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.2354, allocations: 28 kB / 413.4 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.2354, allocations: 48.84 kB / 413.4 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.726e-05/0.2355, allocations: 68 kB / 413.5 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/0.2364, allocations: 0.5693 MB / 414.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-05/0.2364, allocations: 107.6 kB / 414.2 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.2378, allocations: 413.2 kB / 414.6 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.2379, allocations: 147.9 kB / 414.7 MB, free: 8.266 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.001777/0.2397, allocations: 1.722 MB / 416.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.2398, allocations: 135.1 kB / 416.6 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.2401, allocations: 255.3 kB / 416.8 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.885e-05/0.2401, allocations: 85.69 kB / 416.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2401, allocations: 0 / 416.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2401, allocations: 4 kB / 416.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.2429, allocations: 2.985 MB / 419.9 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2429, allocations: 3.938 kB / 419.9 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.243, allocations: 15.92 kB / 419.9 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.243, allocations: 0 / 419.9 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.243, allocations: 11.94 kB / 419.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.243, allocations: 0 / 419.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.243, allocations: 4.031 kB / 419.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.2433, allocations: 375.2 kB / 420.3 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.2434, allocations: 155 kB / 420.5 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.2435, allocations: 7.938 kB / 420.5 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2438, allocations: 27.8 kB / 420.5 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.2438, allocations: 3.984 kB / 420.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2438, allocations: 7.938 kB / 420.5 MB, free: 2.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001384/0.2452, allocations: 1.4 MB / 421.9 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2452, allocations: 4 kB / 421.9 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00167/0.2468, allocations: 0.9959 MB / 422.9 MB, free: 15.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0005447/0.2474, allocations: 0.9427 MB / 423.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.2486, allocations: 1.391 MB / 425.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2486, allocations: 0 / 425.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.2486, allocations: 40.55 kB / 425.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.2494, allocations: 337.7 kB / 425.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/0.2661, allocations: 19.18 MB / 444.8 MB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.268, allocations: 2.586 MB / 447.4 MB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00115/0.2692, allocations: 0.7906 MB / 448.2 MB, free: 4.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.2702, allocations: 1.328 MB / 449.5 MB, free: 3.645 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2702, allocations: 0 / 449.5 MB, free: 3.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1987/0.4689, allocations: 44.37 MB / 493.9 MB, free: 128.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/8.242, allocations: 4 kB / 493.9 MB, free: 128.4 MB / 426.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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: 10.004011270590127]